Morris traversal leads to exception on LeetCode: address sanitizer , stack overflow
I have implemented a Morris traversal to solve LeetCode problem 98. Validate Binary Search Tree:
Address Sanitizer , stack overflow in leetcode solution
why it is giving me error , i have just added two line to morris traversal,