Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8779061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:41:16+00:00 2026-06-13T19:41:16+00:00

Algorithms like Timsort, Quicksort & Mergesort dominate the real world sorting methods. The case

  • 0

Algorithms like Timsort, Quicksort & Mergesort dominate the “real world” sorting methods. The case for these comparison sorts is quite practical — they’ve been shown to be the most performant, stable, multipurpose sorting algorithms in a wide variety of environments.

However, it seems like nearly everything that we would sort on a computer are countable / partially ordered. Numbers, characters, strings, even functions are amenable to some meaningful non-comparison sorting method. A candidate here is Radix sort. In general it will behave faster than O(n*log(n)), beating the theoretical comparison sort limit of n * log(n) by a wide margin in many cases with a complexity of O(K*n) — K being the number of bits that are required to represent a particular item.

What gives?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:41:18+00:00Added an answer on June 13, 2026 at 7:41 pm

    The speed of radix sort depends on the length of the key. If you have long keys like strings, radix sort may be very slow.

    Further, for sorting only a few items the initialization costs may outweight the actual sorting by a magnitude.

    For instance if you sort 32 bit integers by using a 8 bit radix you need to initialize at least 4 times the list of 256 buckets – if you only have 20 or so items to sort this and the 80 swaps will be far slower than the about ~200 comparisons/swaps a quicksort needs.

    If you sort anything longer, like strings, you have for each character of the longest string a bucket initialization – this may be even worse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The are several sorting algorithms like inserstion sort, selection sort, bubble sort etc. that
I have read everywhere that for divide and conquer sorting algorithms like Merge-Sort and
I would like to find some tutorial about the trading algorithms like Iceberg, Dagger,
I'm reading about STL algorithms and the book pointed out that algorithms like find
Can any of STL algorithms/container operations like std::fill , std::transform be executed in parallel
I would like to learn about games (strategy) algorithms especially about how do enemies
I would like to know if there exist algorithms that solves this issue. It
I would like to write a dictionary. What algorithms/structures should I use? Each word
I'd like to begin thinking about how I can scale up my algorithms that
There are well-known algorithms for cryptography to compute modular exponentiation (a^b)%c (like Right-to-left binary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.