PGF:
That seems like a pretty nice solution. Unless someone comes up with a better one I think I'll go with that.
Just before you posted that I thought I'd come up with a solution that involved looping through each list once and comparing if the pointers were less than those in the oppposing list, but that only worked for my initial test case, and did not work for others. I thought it seemed absurdly simple. Apparently it was.
Thanks! :-)
That seems like a pretty nice solution. Unless someone comes up with a better one I think I'll go with that.
Just before you posted that I thought I'd come up with a solution that involved looping through each list once and comparing if the pointers were less than those in the oppposing list, but that only worked for my initial test case, and did not work for others. I thought it seemed absurdly simple. Apparently it was.
Thanks! :-)