【强化练习】利用后序位置解题 III
原创约 6006 字
Prerequisites
Before reading this article, you should first learn:
Code written in the post-order position is the most flexible. It can access the parent node (through function parameters) and gather information from the subtree (through recursive return values). A small number of more challenging problems will use both of these features.