Collabera interview question

puzzles