1. recursion
2. w/o recursion - using stack
Iterative Preorder Traversal - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
www.geeksforgeeks.org
'[자료구조론] - Data Structure > [Concept]' 카테고리의 다른 글
Infix to Postfix & make calculate tree (0) | 2020.11.03 |
---|---|
InOrder - LCR (0) | 2020.11.03 |
postOrder - LRC (0) | 2020.11.03 |
Tree 구현 (0) | 2020.10.27 |
Questions regarding Data Structures (0) | 2020.10.19 |