Adobe Interview Question

puzzles and basic programming