Abstract

A sequence of priority queue operations can transform a permutation π of n elements to some, but not necessarily all, permutations σ. A recent result of Atkinson and Thiyagarajah (1993) states that the number of distinct transformation pairs (π, σ) is ( n + 1) n −1 . By Cayley's theorem this is also the number of labelled trees with n + 1 nodes. We present a direct correspondence between labelled trees and transformation pairs and a linear time algorithm for constructing the tree corresponding to a pair of permutations along with related results.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.