Traversal of trees

Borris發表於2019-10-27

Inorder traversal

Order: left - root - right
LeetCode 94

Pre-order traversal

Order: root - left - right
LeetCode 144

Post-order traversal

Order: left - right - root
LeetCode 145

相關文章