Domanda di colloquio di Meta

Small puzzles given as coding problems.