Thoughtworks Interview Question

Coding challenges from the start