Thoughtworks interview question

Some technical CS questions