Algorithm | Tree traversal

There are three types of depth-first traversal: pre-order,in-order, and post-order. For a binary tree, they are defined as operations recursively at each node, starting with the root node as follows:
相關文章
相關標籤/搜索