Solera Interview Question

Codility generic tests, 3 of them