According to the character that the nodes of a binary tree are sequential, a thought of producing any shape binary trees is proposed and the algorithm realization in C language is also given.
According to the character that the nodes of a binary tree are sequential, a thought of producing any shape binary trees is proposed and the algorithm realization in C language is also given.
该算法满足了实用性和灵活性的要求,在理论教学和实践操作中具有较高的应用价值。