Classic sorting algorithm-proxmap sort

Source: Internet
Author: User

Classic sorting algorithm-proxmap sort

This sorting is an improvement of Bucket sorting and base sorting. It is easy to understand the first two.

First, let's recall what the bucket sorting is like. The difference between the bucket sorting rule and the bucket sorting rule is that bucket 1 is in bucket 1 and bucket 2 is in bucket 2.

This sort partitions the numbers and then gives a so-called key. For example, it specifies that all 0-9 are entered into the bucket 0.

Both 10-19 and 1 buckets, so that the bucket coverage will increase by 10 times, which is useful in some cases.

With the basis of the bucket arrangement, you can see everything in the two pictures below and no longer break down the process.

Figure 1

Figure 2

 

 

Back to main directory [classic Sorting Algorithm] [Collection]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.