Eaton interview question

wasn't expecting the code review question