Pergunta de entrevista da empresa C3 AI

one difficult graph questions, and two other easier problems, but time is limited