Question d’entretien chez Axoni

Typical coding puzzle about data structures. Had to code on google docs.