Microsoft interview question

Some puzzles, I don't remember