Question d’entretien chez JPMorganChase

Questions about string and some simple greedy algorithm