Open Hel5inki opened 3 weeks ago
LeetCode Support commented: Hello,
Your reported issue has been relayed to our team for thorough investigation. We appreciate your patience as we work to address and resolve this matter. We will reach out to you when we have updates regarding the issue.
If you have any further questions or concerns in the meantime, please feel free to let us know.
Best regards, LeetCode Support Team
LeetCode Username
Hel5inki
Problem Number, Title, and Link
Bug Category
Editorial
Bug Description
The LCA solution in the first approach does not match the editorial solution for that problem. I actually prefer the solution you present for that problem here more than the editorial solution. So, it would be easier to follow the approach 1 solution if the previous problem's editorial was updated to use the solution presented here with an explanation. It's easy to understand, but not easy to see how you arrived to that solution
Language Used for Code
Python/Python3
Code used for Submit/Run operation
No response
Expected behavior
https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/editorial/ solution should match the algorithm used in https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree-ii/editorial/ so that it is easier to understand how to get from the solution to the basic LCA problem to the modified LCA II problem
Screenshots
No response
Additional context
No response