Pergunta de entrevista da empresa Cohesity

Two coding questions in first technical round.