18
Views
3
CrossRef citations to date
0
Altmetric
Original Articles

On the generation of P-sequences

Pages 31-35 | Received 01 May 1990, Published online: 19 Mar 2007
 

Abstract

An efficient algorithm for generating the P-sequences characterising all shapes of binary trees with n nodes is presented. This is based on the connection between the P-sequences and the ballot sequences. A P-sequence results from a ballot sequence if the integers 0, 1, 2,…,n−1 in ballot sequence is replaced by integers n, n−1, n−2, …, 1 in their corresponding positions.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.