You are viewing a single comment's thread. Return to all comments →
python3:
def bigSorting(unsorted): map = {} for s in unsorted: n = len(s) temp = map.get(n, []) temp.append(s) map[n] = temp res = [] for key in sorted(map.keys()): res.extend(sorted(map[key])) return res
Big Sorting
You are viewing a single comment's thread. Return to all comments →
python3: