Meta interview question

Small puzzles given as coding problems.