Yahoo Interview Question

Nothing unexpected. But a lot of very basic questions The coding problem is a permutation with some specific tricks.