Question d’entretien chez LinkedIn

Standard Algorithm and DS. Medium difficulty