Question d’entretien chez Optiver

First question involved some logical thinking and string handling.