Pergunta de entrevista da empresa Salesforce

Q1. Reverse stack in O(1) space. Q2. Find the LCA of a binary tree. Q3. Tell how the packages should be downloaded given the dependencies.