Thoughtworks Interview Question

Nothing really unexpected