Binary tree - traversal of binary tree (recursion and iteration)
Morris Traversal
Using Morris traversal to achieve pre-order, in-order, and subsequent traversal of binary trees, the time complexity is O(N), and the additional space complexity is O(1).