Pergunta de entrevista da empresa Palantir Technologies

Given an existing codebase in Java, fix certain bugs (one was incorrect logic, one was optimization for speed). They will also plant secret bugs in the code that they don't mention to see if you'll pick those up.