id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

array_sortLowToHigh


array_sortLowToHigh - given an unsorted integer array return the same array sorted from least to greatest value.


array_sortLowToHigh([]) → []
array_sortLowToHigh([5, 8, 5, 4, 7, 9, 6, 2, 1]) → [1, 2, 4, 5, 5, 6, 7, 8, 9]
array_sortLowToHigh([100, 29, 72, 67, 13, 8, 7, 95, 98, 40, 66, 23, 46, 16, 10]) → [7, 8, 10, 13, 16, 23, 29, 40, 46, 66, 67, 72, 95, 98, 100]

...Save, Compile, Run (ctrl-enter)

public int[] array_sortLowToHigh(int[] arr){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Post-solution available

Copyright Nick Parlante 2017 - privacy