+ 3
Different sorting types ?
There are many sorting methods and they give the same result. but does it make a difference (maybe in time).
3 Réponses
+ 5
Yes they are different.
Some are suited for beginners (Bubble sorting).
Some others may not be looking great but when there is a large amount of data , it may work fast.
All techniques have their own properties. It is upto us which one we choose.
+ 5
Quite a huge difference in certain cases.
http://bigocheatsheet.com
+ 1
it is about the time of sorting ...sometimes in some special situations (like questions of code forces)you need a special kind of sort...anyway if you are just sorting an array, use algorithm library's sort keyword