I was asked how I would write an algorithm to return a certain result given a certain input. A mini coding quiz, if you will.
Utilisateur anonyme
I answered to the best of my abilities, and was given a couple tips on how the algorithm could be improved.