Tredence interview question

puzzles