Algorithms
Number Sorting
Sorting is a process through which data are arranged in either ascending or descending order according to their values.
Example
Sort the following number by ascending.
27 80 02 46 16 12 54
Path 1: 27 80 01 46 16 12 54
Part 2: 02 27 80 46 16 12 54
Part 3: 02 27 46 80 16 12 54
Part 4: 02 16 27 46 80 12 54
Part 5: 02 12 16 27 46 80 54
Part 6: 02 12 16 27 46 54 80
No comments:
Post a Comment