Exercise: Binary Tree Traversal I
OriginalAbout 6020 words
Prerequisites
Before reading this article, you should first learn:
Generally speaking, if you are asked to work on the "branches" of a binary tree, it is natural to use a traversal mindset to solve the problem.