Frage im Vorstellungsgespräch bei Palantir Technologies

The programming exercise was a typical algorithmic problem