Softplan interview question

Codility exercises