Percept Solutions interview question

Codility test for online assessment