TechEmpower interview question

analyze code, asked to improve design of code, array manipulation and hashmap questions.