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.
0 comments:
Post a Comment