Pergunta de entrevista da empresa C3 AI

Leetcode medium/hard, plus some behaviorals.