Thoughtworks Interview Question

I was asked to refactor existing backend code