You are viewing a single comment's thread. Return to all comments →
How about this..
static String[] bigSorting(String arr[]) { Arrays.sort(arr, (left, right) -> { if (left.length() != right.length()) return left.length() - right.length(); return left.compareTo(right); }); 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 →
How about this..