Pergunta de entrevista da empresa Palantir Technologies

Leetcode question about data structures