Coditas interview question

Testing types, puzzles, coding logic