Pergunta de entrevista da empresa Navan

Regular algorithm questions, Leetcode easy, medium at most