Pergunta de entrevista da empresa Palantir Technologies

Questions on time and space complexity, coding proble.