Category: Sorting
- In this technique, each element of an array is compared with all of the rest of the elements and swapped if needed.
- Write a program to sort an array using Sequential Sort technique. In this technique, each element of an array is compared with all of the rest of the elements and swapped, if required.
- Write a program to sort an array using Selection Sort technique. In this technique, smallest/greatest element is searched and is swapped by the leftmost element of the array repeatedly to arrange the
- Write a program to sort an array using Bubble Sort technique. In this technique, adjoining elements are compared and smaller/greater elements are shifted to the right depending on the type of sort.
- Write a program to sort an array using Insertion Sort technique. In this technique, array is traversed in a reverse order starting from the second index and each time an element's proper position in