Question d’entretien chez Palantir Technologies

Algorithm question with stocks