Programs written as interview puzzles