You are viewing a single comment's thread. Return to all comments →
I like yours :), for the rest here it is in Java:
static String[] bigSorting(String[] arr) { Arrays.sort(arr, new Comparator<String>() { @Override public int compare(String a, String b) { if(a.length() == b.length()){ return a.compareTo(b); } return a.length() - b.length(); }}); return arr; }
Seems like cookies are disabled on this browser, please enable them to open this website
Big Sorting
You are viewing a single comment's thread. Return to all comments →
I like yours :), for the rest here it is in Java: