Adobe Interview Question

DS, Testing related, coding, puzzle.