Logitech interview question

CNN coding pseudo code test