Question d’entretien chez Uncountable

Some string manipulation problem. Probably leetcode easy or medium