Sorting by Placement and Shift

Mathematics – Combinatorics

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

13 pages, 4 figures, Proceedings of SODA 2009

Scientific paper

In sorting situations where the final destination of each item is known, it is natural to repeatedly choose items and place them where they belong, allowing the intervening items to shift by one to make room. (In fact, a special case of this algorithm is commonly used to hand-sort files.) However, it is not obvious that this algorithm necessarily terminates. We show that in fact the algorithm terminates after at most $2^{n-1}-1$ steps in the worst case (confirming a conjecture of L. Larson), and that there are super-exponentially many permutations for which this exact bound can be achieved. The proof involves a curious symmetrical binary representation.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Sorting by Placement and Shift does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Sorting by Placement and Shift, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Sorting by Placement and Shift will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-661847

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.