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.

https://flatassembler.github.io/AEC_specification.html#AdvancedArray

πŸ‘︎ 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
πŸ’¬︎
πŸ‘€︎ u/cadenjb77
πŸ“…︎ 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
πŸ“°︎ r/shittyaskscience
πŸ’¬︎
πŸ‘€︎ 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

https://github.com/Adiprogrammer7/Sort_Visualizer

https://reddit.com/link/li6ndt/video/fp3sevr480h61/player

πŸ‘︎ 2
πŸ“°︎ r/Python
πŸ’¬︎
πŸ‘€︎ u/Adiprogrammer
πŸ“…︎ 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
πŸ“°︎ r/ada
πŸ’¬︎
πŸ‘€︎ 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

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.