Yahoo Interview Question

Problem-solving, Algorithm, data structures