+ 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.
8 Answers
+ 12
sorting in c++
https://code.sololearn.com/cSVY49LLjJEI/?ref=app
+ 6
https://code.sololearn.com/ccdMm9KFurVt/?ref=app
+ 5
Taken from lesson factory
https://code.sololearn.com/coS2hC0HRva3/?ref=app
+ 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
+ 3
Also I will leave my merge sort in case you guys want to take a look
https://code.sololearn.com/cltqjQPck1XP/?ref=app
+ 1
Using Java...
Let me know in the comments if it throws any unexpected error...
https://code.sololearn.com/cdLDDRDzIINm/?ref=app
+ 1
Here's my take:
https://code.sololearn.com/cWwe78c0vXRV/?ref=app
Hot today
Python — File Handling
0 Votes
Help me solve this (using loop)
3 Votes
What is wrong? Error on test.
1 Votes
Help me wiht python
1 Votes
Question is write a c program to print prime numbers up to n and print the largest number in array.
1 Votes
Help me
0 Votes