Telemetry interview question

Codility test