Question d’entretien chez Netflix

Leetcode medium problems. Greedy approach.