Pergunta de entrevista da empresa Salesforce

Leetcode med on DSA, was asked on stack and graph