A Recursive Algorithm of Traversing Binary Tree by Level Based on Chain-stack Array

Yin Bang-zhi
Abstract:Traversing a binary tree by level(traversing a binary tree according to its hierarchical structure) is a process in which it visits all the nodes in a binary tree from root node to leaf node and from left to right at the identical level with each node's data field visited only once.First,the paper analyzes the three forms of main ideas of the recursion algorithm of traversing binary tree by level based on China-stack array.Second,it describes the algorithm in details using C++ language.Finally,the algorithm is achieved through chain-stack array.
Mathematics,Computer Science
What problem does this paper attempt to address?