Deezer interview question

little technical test of programming