Sorting an array without changing position of negative numbers
Thu Dec 26 2019 15:35:22 GMT+0000 (UTC)
Saved by @divisionjava #python #interesting #arrays #sorting #interviewquestions
for example: Input: arr[] = {2, -6, -3, 8, 4, 1} Output: 1 -6 -3 2 4 8
https://www.geeksforgeeks.org/sort-an-array-without-changing-position-of-negative-numbers/
Comments