Domanda di colloquio di IFDS Group

Desribe an algorithm in any programming languague.