this post was submitted on 13 Dec 2023
4 points (83.3% liked)

Code Golf

166 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

Given a list of Integers greater than zero, Sort each of the unique values in ascending order, then repeat the process on the remaining duplicate values and append.

Example:

[1,5,2,2,8,3,5,2,9] ==> [1,2,3,5,8,9,2,5,2]
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here