Wargaming interview question

Solve a WoT related algorithm problem