Miniclip interview question

Videogame optimisation practices, algorithms problem solving