CGI Interview Question

Sometimes they ask puzzles to surprise you.