News

Method 1 : Using bubble sort Method 2 : Sort the entire array then, print first half in ascending and second half in descending. Example Input : arr [6] = [1, 90, 34, 89, 7, 9] Output : 1 7 9 90 89 34 ...
Method 1 : In this method we will use Selection Sorting Technique to sort the given input array. You can click on the button given below to understand the algorithm for selection sorting technique.