Imagine that the user provides a one dimensional list. Return a sorted version of this one dimensional list. For example, if the user enters [3, 4, 1, 2, -1] your code would return [-1, 1, 2, 3, 4] .
Please do not use any Java code or libraries that we have not covered in class; this defeats the purpose of the
assessment. |