Question d’entretien chez Palantir Technologies

The programming exercise was a typical algorithmic problem