,• It is a process of arranging the given elements in ascending or
descending order
• Different sorting techniques are
• Bubble sort
• Selection sort
• Merge sort
• Insertion sort
• Quick sort
• ……
, Consider these as the given elements, which are unsorted
20 40 10 30 50
The elements after sorting in ascending order are
10 20 30 40 50
descending order
• Different sorting techniques are
• Bubble sort
• Selection sort
• Merge sort
• Insertion sort
• Quick sort
• ……
, Consider these as the given elements, which are unsorted
20 40 10 30 50
The elements after sorting in ascending order are
10 20 30 40 50