Adobe interview question

Puzzles and sorting questions