Question d’entretien chez Skype

How to solve an algorithmic problem