OYO interview question

Problem solving and thought process analysis