Thoughtworks interview question

Oops and logical thinking and problem solving