Work

On the Generation of P-sequences

Year: 2003
Type: article
Abstract: An ecient algorithm for the generation of P-sequences is presented. P-sequences are integer sequences characterizing all shapes of n-noded binary trees. This algorithm generates each sequence in B-order with constant average time O(1). The sequences are generated in lexicographical orders. The ranking and unranking algorithms with O(n) time complexity are also described. Finally, an algorithm for the construction of a binary tree with a linked structure from P-sequence is presented.
Language: English
Open Access status: green
OpenAlex ID: W73551576
FWCI: 0.537
Cites: 8
Cited by: 3
Related to: 9