Criteo Interview Question

Cracking the code exercises