Journal of the ACM · 1978 · 67 citations · 2 references
ComputingComputer ScienceMathematicsAlgorithmsCombinatoricsData StructuresDecision TreesParallel Tree AlgorithmsBinary TreesGenerating Trees
An efficient algorithm for generating and indexing all shapes of n-noded binary trees is described The algorithm is based on a correspondence between binary trees and the class of stack-sortable permutations. together with a representation of such permutatmns as ballot sequences Justification for the related procedures is given, and their efficiency estabhshed by comparison to other approaches
2
A numbering system for binary trees
Gary D. Knott · Communications of the ACM · 1977 · 101 citations · Full text