Input | Output |
---|---|
[10] | [10] |
[6, 4, 3] | [3, 4, 6] |
[20, 50, 10] | [10, 20, 50] |
[-4, -3, -2] | [-4, -3, -2] |
[-4, -100, -20] | [-100, -20, -4] |
[-4, 3, -2, 10] | [-4, -2, 3, 10] |
[4, 3, 2, 1, 0, -1, -2, -3, -4] | [-4, -3, -2, -1, 0, 1, 2, 3, 4] |
[2, -3, 1, 1, 5, -5, 1] | [-5, -3, 1, 1, 1, 2, 5] |