I ran across the following sample job interview question. How can I solve it?
Suppose we have an array a1, a2,... , an, b1, b2, ..., bn.
The goal is to chan
This problem is not as trivial as people make out to be. Homework? LOL.
The following link has a solution: http://arxiv.org/abs/0805.1598