+ 5

Challenge: sorting

Lately I have had a sort of obsession with sorting algorithms, I think they are very clever. And there are so many types, so I wanted to introduce a challenge for anyone that wants to take it: code a sorting algorithm in any language you want, also you can decide wether to let the user input the numbers to be sorted or not, you can use any sorting algorithm or even create your own if that's what you want. But: if your language of choosing has a sort command, that's absolutely banned.

28th Oct 2017, 1:42 PM
TheLegend27 - avatar
8 Answers
29th Oct 2017, 6:00 PM
Igor Makarsky
Igor Makarsky - avatar
28th Oct 2017, 2:13 PM
Мағжан Берік
Мағжан Берік - avatar
+ 6
28th Oct 2017, 1:57 PM
Kartikey Sahu
Kartikey Sahu - avatar
28th Oct 2017, 2:59 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
Here is a powerful one - robust algorithm and easy to port on quantum computers. And a oneliner too. I think i win the challenge... https://code.sololearn.com/ckA5HcM084nj/?ref=app
28th Oct 2017, 2:27 PM
VcC - avatar
+ 3
Also I will leave my merge sort in case you guys want to take a look https://code.sololearn.com/cltqjQPck1XP/?ref=app
28th Oct 2017, 1:44 PM
TheLegend27 - avatar
+ 1
Using Java... Let me know in the comments if it throws any unexpected error... https://code.sololearn.com/cdLDDRDzIINm/?ref=app
29th Oct 2017, 4:15 PM
Giorgos Athanasias
Giorgos Athanasias - avatar
30th Oct 2017, 11:16 AM
Adib Attie
Adib Attie - avatar