Pergunta de entrevista da empresa Docusign

Basic Graph Problem and its variation