Comparison of sorting algorithms

What can influence the sorting?

 - The type

- The size

- the device on which they are.


 How to choose the most suitable algorithm for your program?

From the preceding table. We go to some conclusions as follows:
-If your data's size is small, the algorithms such as Bubble, Selection, Insertion could be best suitable due to trading-off between space and time.
-If your data'size is big, the algorithms Merge, Quicksort could be best suitable.
Share on Google Plus

About Chien

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

0 comments:

Post a Comment