InterviewBit Problems   Least Common Ancestor : Solved

Memory Limit Exceeded problem (3)
My solution shows memory limit exceeded (1)
Easy C++ Solution using Backtracking (1)
Whats wrong with this solution (1)
Javascript backtracking (1)
C ++ using recursion (1)
Easy to understand solution (1)
Easy c++ recursion sulution (1)
Easy to Understand O(n) C++ Solution (1)
Using backtracking (1)
C++ solution for this problem (1)
O(n) solution, no recursion, single traverse, pointer flagging instead of visited array. C++ (1)
Wrong Test Case breaking condition (1)
My O(N) solution with comments (1)
O(n) solution with just once traversal (1)
O(N^2) solution is also accepted (1)
Python 3 Editorial solution is O(n^2) (1)
TSegementation fault (1)
What is the time compelexity of my code (1)
O(n) solution as suggested in "solution approach" isn't accepted (1)
Recursive Approach for the question (1)
Solution faster than editorial (1)
Please fix JS runtime issue - it always shows TLE ...same solution works in C# (2)
Hey! Can you check your complete solution?! Because I think it is the answer for (2)