StubHub interview question

Provided some Java code with very obvious inefficiencies.