Thoughtworks interview question

complete the homework and do pairing