- What are the different sorting types in data structure?
- Which one is more quick?
- Examples
- What are the different sorting types in data structure?
- Which one is more quick?
- Examples
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shweta LodhaRank #31 · 39.8K reputationPosted Jul 7, 2021, 6:35 PM EDT
Possible sorting types:
And here is the time complexities:
Original link : Sorting Algorithms - InterviewBit
Shweta LodhaRank #31 · 39.8K reputationPosted Jul 7, 2021, 6:40 PM EDT
Which algo is fastest, it can not be said as each and every sorting method has their pros and cons. Based on the situation, one can be used. For example, if efficiency is not an issue, one can use Bubble sort as it's very easy to implement. But if your array is almost sorted then Insertion sort could be your option and goes on.
Sagar LadRank #523 · 4.7K reputationPosted Aug 21, 2021, 3:52 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 23, 2021, 1:31 AM EDT