Abstract

We give a simple algorithm to transform a Hamiltonian path in a Hamiltonian cycle, if one exists, in a tournament T of order n. Our algorithm is linear in the number of arcs, i.e., of complexity O( m)=O( n 2) and when combined with the O( n log n) algorithm of [2] to find a Hamiltonian path in T, it yields an O( n 2) algorithm for searching a Hamiltonian cycle in a tournament. Up to now, algorithms for searching Hamiltonian cycles in tournaments were of order O( n 3) [3], or O( n 2 log n) [5].

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.