Sorting Visualizer - An open source sorting algorithms visualizer built using ReactJS (links in comments) v.redd.it/ymn15ehzhpe61
π︎ 460
π°︎ r/reactjs
π¬︎
π€︎ u/karimelghamry
π︎ Jan 31 2021
π¨︎ report
Best sorting algorithm for gnomes?

I was recently looking at the wikipedia article for Gnome Sort and it got me thinking. Gnomes sorting garden pots have a slightly different computational model than computers do, in that moving along the line of pots takes time.

So given the constraints on the gnomes (can only carry one pot at once, walking takes time), Gnome sort seems like it really does take less time (walking steps) than, say, Bubble Sort.

It looks to me like, for gnomes:

• Gnome sort is O(n^2 )
• Bubble sort is O(n^2 ) with a worse constant
• Quicksort is worse, at O(n^2 * log n), because partitioning takes n^2 time

Can a gnome sort a line of flower pots faster than O(n^2 ), counting walking steps? Merge sort seems promising maybe, and it seems like it might matter whether the gnome is allowed to temporarily lay the pots out in 2D space or not.

π︎ 26
π°︎ r/compsci
π¬︎
π€︎ u/Tai9ch
π︎ Feb 11 2021
π¨︎ report
I wrote a basic integer sorting algorithm :)

Hey all,

I'm quite new to programming, I'm still reading Crash course and ATBSWP, but last night in bed I came up with a way of sorting a random list of numbers.

Here's my code: https://pastebin.com/UHPshGe4

I appreciate I won't be the first person to come up with this, and I know there are more elegant ways of doing it, but I feel it's not bad for a beginner?

Any feedback you guys could give would be appreciated.

Thanks :)

π︎ 6
π°︎ r/learnpython
π¬︎
π€︎ u/stev1212
π︎ Feb 09 2021
π¨︎ report
When sorting algorithms sound like a sick beat - (What a computer sounds like when it sorts data) youtu.be/j3j9d9BDLa0?t=60
π︎ 72
π°︎ r/soundporn
π¬︎
π€︎ u/lll_X_lll
π︎ Feb 01 2021
π¨︎ report
I created a Visualization of 20 Sorting Algorithms as a Christmas Tree with Java. Merry Xmas :) youtu.be/p6rkVqgwVuI
π︎ 291
π°︎ r/java
π¬︎
π€︎ u/compilerstuck
π︎ Dec 23 2020
π¨︎ report
[OC] Visualization of various sorting algorithms! (code in comment) imgur.com/gallery/Ei8SHIj
π︎ 51
π°︎ r/dataisbeautiful
π¬︎
π€︎ u/Pottolama
π︎ Jan 30 2021
π¨︎ report
Which sorting algorithm did you implement in your programming language?

A modern programming language is expected to provide a standard-library function for sorting. So, which algorithm did you use for that? I made up my own algorithm called HybridSort, which is a combination of MergeSort, QuickSort and SelectionSort. I used a genetic algorithm to get formulas for predicting which algorithm will be faster on some part of the array. I thought it was an excellent idea and that it will be about as fast as more mainstream sorting algorithms. However, it turns out it is significantly slower.

π︎ 16
π¬︎
π€︎ u/FlatAssembler
π︎ Jan 12 2021
π¨︎ report
I created a Visualization of 20 Sorting Algorithms as a Christmas Tree with Java. Merry Xmas :) youtu.be/p6rkVqgwVuI
π︎ 242
π°︎ r/coding
π¬︎
π€︎ u/compilerstuck
π︎ Dec 23 2020
π¨︎ report
I Created a Visualization of 20 Sorting Algorithms with Java. Which one do you like most? youtu.be/wGVIiUrESug
π︎ 228
π°︎ r/java
π¬︎
π€︎ u/compilerstuck
π︎ Dec 03 2020
π¨︎ report
I created a Visualization of 20 Sorting Algorithms as a Christmas Tree with Java. Merry Xmas :) youtu.be/p6rkVqgwVuI
π︎ 219
π°︎ r/DataArt
π¬︎
π€︎ u/compilerstuck
π︎ Dec 23 2020
π¨︎ report
When you combine Chorus (WWW) with a sorting algorithm (skip to 0:30 for sorting algorithm) v.redd.it/zq4kf1ebb2a61
π︎ 50
π°︎ r/JusticeMusic
π¬︎
π︎ Jan 08 2021
π¨︎ report
[Task] A functioning machine learning algorithm for sorting data from chosen parameters

Hello all, I don't have really any capital to offer, but I would be willing to pay \$5 to start a conversation about what I'm looking to build for my start-up. If you are offering some experience with data science and machine learning, I am willing to have a conversation with you about how we can jump into a working relationship for my start-up idea. Thanks for your consideration, and I hope to make a few connections along the way.

Shoot me a message with your interests, previous work, and/or education to get started.

π︎ 5
π°︎ r/slavelabour
π¬︎
π€︎ u/tnari
π︎ Jan 27 2021
π¨︎ report
I Created a Visualization of 20 Sorting Algorithms with Java. Which one do you like most? youtu.be/wGVIiUrESug
π︎ 258
π°︎ r/coding
π¬︎
π€︎ u/compilerstuck
π︎ Dec 03 2020
π¨︎ report
What is the best sorting algorithm to use on my socks? I tried a binary sort but cutting my socks in half makes them too hard to wear.
π︎ 4
π¬︎
π€︎ u/IvanOsokin
π︎ Feb 02 2021
π¨︎ report
I Created a Visualization of 20 Sorting Algorithms with Java. Which one do you like most? youtube.com/watch?v=AVt0lβ¦
π︎ 2k
π°︎ r/programming
π¬︎
π€︎ u/compilerstuck
π︎ Sep 21 2020
π¨︎ report
This Visualization of Sorting Algorithms as a Christmas is creating crazy sounds youtu.be/p6rkVqgwVuI
π︎ 72
π°︎ r/soundporn
π¬︎
π€︎ u/compilerstuck
π︎ Dec 23 2020
π¨︎ report
Engineering In-place (Shared-memory) Sorting Algorithms [2021] arxiv.org/abs/2009.13569
π︎ 9
π°︎ r/systems
π¬︎
π€︎ u/h2o2
π︎ Feb 05 2021
π¨︎ report
My personal remix of the sorting algorithm video (don't worry I won't use it as part of the contest) v.redd.it/m4phsh3l7u661
π︎ 44
π°︎ r/riddim
π¬︎
π€︎ u/ballertees
π︎ Dec 23 2020
π¨︎ report
[SOUND WARNING] Sorting algorithms are satisfying v.redd.it/wncgzi4nrn361
π︎ 133
π°︎ r/oddlysatisfying
π¬︎
π€︎ u/darkbluesaber
π︎ Dec 07 2020
π¨︎ report
Sorting algorithms v.redd.it/xqdygxmzt1861
π︎ 43
π¬︎
π€︎ u/Stenik0522
π︎ Dec 29 2020
π¨︎ report
The case for a learned sorting algorithm blog.acolyer.org/2020/10/β¦
π︎ 836
π°︎ r/programming
π¬︎
π€︎ u/feross
π︎ Oct 19 2020
π¨︎ report
Which sorting algorithm did you implement in your programming language? /r/ProgrammingLanguages/cβ¦
π︎ 3
π°︎ r/algorithms
π¬︎
π€︎ u/FlatAssembler
π︎ Jan 12 2021
π¨︎ report
A nice little sorting algorithm visualizer!

Implemented with generators and matplotlib

π︎ 2
π°︎ r/Python
π¬︎
π︎ Feb 12 2021
π¨︎ report
I made a color sorting algorithm with a single datapack v.redd.it/opmfgorkosd61
π︎ 18
π¬︎
π€︎ u/HiddenRealm_
π︎ Jan 27 2021
π¨︎ report
watching sorting algorithms reddit.com/rpan/r/distantβ¦
π︎ 21
π¬︎
π€︎ u/Sam5559
π︎ Nov 29 2020
π¨︎ report
Basic solved exercises with Ada: Vectors and matrixes, sorting algorithms, dynamic and static lists and basic algorithms github.com/ZAWARTO/ADA-exβ¦
π︎ 28
π¬︎
π€︎ u/johnycobra
π︎ Jan 25 2021
π¨︎ report
Over 20 Sorting Algorithms visualized using Java! youtu.be/y5puyrEMZ_c
π︎ 189
π°︎ r/java
π¬︎
π€︎ u/compilerstuck
π︎ Nov 20 2020
π¨︎ report
5 Sorting Algorithms And How They Work! programming-hero.com/blogβ¦
π︎ 6
π°︎ r/FreeKarma4U
π¬︎
π€︎ u/angelankia
π︎ Dec 30 2020
π¨︎ report
I just created a 3D Visualization of Sorting Algorithms in Java. What could i improve? youtube.com/watch?v=bsSu0β¦
π︎ 1k
π°︎ r/programming
π¬︎
π€︎ u/compilerstuck
π︎ Sep 06 2020
π¨︎ report
Verification of a simple sorting algorithm

I am making a game and ran into a problem where I need a specific type of sorting algorithm. It takes a sorting rule, for example 13240, then applies/enforces this rule to another list, for example 013245. Every number in the result has to be before or after every number in the rule (so in the result 3 would have to be after 1 but before 2). The result can have extra numbers that aren't in the rule, and those should remain in-place/retain their position in the list.

My algorithm idea is very simple. I simply iterate across and swap whenever a number should be before another, like so:

https://imgur.com/PXssRhI

It seems to work for a few small examples. I'm not sure about it though since when a number gets swapped, the number it gets swapped with ends up further down and thus misses a few of its comparisons...

Is this correct or is there a better algorithm? I want to be sure before I go into implementing this. Thanks!

π︎ 5
π°︎ r/algorithms
π¬︎
π€︎ u/macsimilian
π︎ Jan 10 2021
π¨︎ report
Crust of Rust: Sorting Algorithms [video] youtu.be/h4RkCyJyXmM
π︎ 364
π°︎ r/rust
π¬︎
π€︎ u/Jonhoo
π︎ Nov 14 2020
π¨︎ report
Bubble sorting algorithm "solving" a randomly puzzled image. v.redd.it/cylc49lvxk161
π︎ 87
π°︎ r/mathpics
π¬︎
π€︎ u/Especuloide
π︎ Nov 26 2020
π¨︎ report
How can I convert Han's algorithm for sorting real number into any high level language?

https://arxiv.org/pdf/1801.00776.pdf

According to the paper, the real numbers normalised in (0,1), then put in table with level. No two number have same level. Then it uses merge algorithm to merge all level. It uses integer sorting. So, I understood after reading the paper but how can I translate it to high level language? If it is difficult then how to develop example type program for demonstration purpose. Thanks

π︎ 4
π°︎ r/compsci
π¬︎
π€︎ u/Infinyte01
π︎ Jan 12 2021
π¨︎ report
I created a Visualization of 20 Sorting Algorithms as a Christmas Tree with Java. Merry Xmas :) youtu.be/p6rkVqgwVuI
π︎ 70
π°︎ r/programming
π¬︎
π€︎ u/compilerstuck
π︎ Dec 23 2020
π¨︎ report
I Created a Visualization of 20 Sorting Algorithms with Java. Which one do you like most? youtu.be/wGVIiUrESug
π︎ 50
π°︎ r/programming
π¬︎
π€︎ u/compilerstuck
π︎ Dec 03 2020
π¨︎ report
Selection sorting algorithm explained youtu.be/i6BHBXSH8Zs
π︎ 2
π°︎ r/cprogrammers
π¬︎
π€︎ u/SkillupGenie
π︎ Jan 29 2021
π¨︎ report
Visualized over 20 Sorting Algorithms with Java! youtu.be/y5puyrEMZ_c
π︎ 125
π°︎ r/coding
π¬︎
π€︎ u/compilerstuck
π︎ Nov 20 2020
π¨︎ report
For CA, it seems we have a chauvinism toward set() instructions in rulesets. Are other rules possible? Can we make the case that sorting algorithms are in fact CA with swap() functions instead of set() functions? Below shows rule 30 next to rule 30 that performs a single swap() as its last rule. reddit.com/gallery/kbz4yq
π︎ 14
π¬︎
π€︎ u/flochaotic
π︎ Dec 12 2020
π¨︎ report
I was trying to find a list of sorting algorithms to pick one for a project the other night, and Google gave me this. I donβt think thatβs right.
π︎ 26
π°︎ r/ProgrammerHumor
π¬︎
π€︎ u/Testmaster217
π︎ Dec 16 2020
π¨︎ report
This Visualization of Sorting Algorithms in form of a Christmas Tree is creating some crazy sounds youtu.be/p6rkVqgwVuI
π︎ 14
π°︎ r/synthesizers
π¬︎
π€︎ u/compilerstuck
π︎ Dec 23 2020
π¨︎ report