Codility Interview Question

It was a Codility test that was technical