You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recursively, anyone can traverse the binary tree but it takes O(N) time and O(N) space [function call stack]. To reduce the space complexity, Morris Traversal is used.
Programming language
C++
Python
Are you contributing under any open-source program ?
Hackclub RAIT Summer of Code
The text was updated successfully, but these errors were encountered:
Description
Recursively, anyone can traverse the binary tree but it takes O(N) time and O(N) space [function call stack]. To reduce the space complexity, Morris Traversal is used.
Programming language
Are you contributing under any open-source program ?
Hackclub RAIT Summer of Code
The text was updated successfully, but these errors were encountered: