Question d’entretien chez Palantir Technologies

Medium leetcode about stocks, pretty average question