Trustly Interview Question

Develop solution on codility .