Waratek interview question

sample codebase and then general discussion