Nisum interview question

Some Puzzles