Sorting and Searching
Sorting and Searching
•Sorting is very important from the point of view of our practical life.
•The best example of sorting can be phone numbers in our phones. If, they
are not maintained in an alphabetical order we would not be able to search
any number effectively.
Sorting Methods
1. Bubble sort
2. Selection sort
The user will decide which sorting method can be
used depending on the following conditions:
a) Time required by a programmer for coding a particular
sorting program.