2013-09-27, 11:53 AM
SaptaZapta Wrote:I'll give you a hint: the doctor can only see one person at a time. Just because you've seen them both doesn't mean they absolutely have to be the next two people in.
In your example, how did the 11 get to go in before the 10?
I was thinking along the lines of that... but I would have to add yet another if statement. I GUESS I'LL DO THAT unless that's not the answer. (It probably isn't.)
... I'll be scribbling in my notebook some more then.
Also,
File A has the numbers 2 4 5 7 7 9 11 12.
File B has the numbers 3 4 6 6 7 8 9 10 13 15.
It checks 2 at a time, usually. It gets to 11 and 9, checks those, places 9 before 11. Then it moves on to 12 and 10. 10 is smaller than 12, so it gets placed accordingly. It ends up with 9, 11, 10, 12.

