3 ms·
Doesn't seem to work. Tried with input ["z","b","a","c","d"] and returns the same ["z","b","a" "c","d"] as the output, using StackOverflow answer 4833835
by miguelmota 8y ago
Doesn't seem to work. Tried with input ["z","b","a","c","d"] and returns the same ["z","b","a" "c","d"] as the output, using StackOverflow answer 4833835
- gamedna 8y agoFor string sorts, i needed to keep running about 5 or 6 times until a sorted result was found.
- miguelmota 8y agoAh you're absolutely right, didn't see the "Didn't work? Try the next answer" button