Thoughtworks Interview Question

complete the homework and do pairing