Wargaming Interview Question

Solve a WoT related algorithm problem