Images, posts & videos related to "Sorting algorithm"

Sorting Visualizer - An open source sorting algorithms visualizer built using ReactJS (links in comments) v.redd.it/ymn15ehzhpe61

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.

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 :)

When sorting algorithms sound like a sick beat - (What a computer sounds like when it sorts data) youtu.be/j3j9d9BDLa0?t=60

I created a Visualization of 20 Sorting Algorithms as a Christmas Tree with Java. Merry Xmas :) youtu.be/p6rkVqgwVuI

[OC] Visualization of various sorting algorithms! (code in comment) imgur.com/gallery/Ei8SHIj

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

I Created a Visualization of 20 Sorting Algorithms with Java. Which one do you like most? youtu.be/wGVIiUrESug

When you combine Chorus (WWW) with a sorting algorithm (skip to 0:30 for sorting algorithm) v.redd.it/zq4kf1ebb2a61

[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.

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.

I Created a Visualization of 20 Sorting Algorithms with Java. Which one do you like most? youtube.com/watch?v=AVt0lβ¦

This Visualization of Sorting Algorithms as a Christmas is creating crazy sounds youtu.be/p6rkVqgwVuI

Engineering In-place (Shared-memory) Sorting Algorithms [2021] arxiv.org/abs/2009.13569

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

[SOUND WARNING] Sorting algorithms are satisfying v.redd.it/wncgzi4nrn361

Sorting algorithms v.redd.it/xqdygxmzt1861

The case for a learned sorting algorithm blog.acolyer.org/2020/10/β¦

Which sorting algorithm did you implement in your programming language? /r/ProgrammingLanguages/cβ¦

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

I made a color sorting algorithm with a single datapack v.redd.it/opmfgorkosd61

watching sorting algorithms reddit.com/rpan/r/distantβ¦

Basic solved exercises with Ada: Vectors and matrixes, sorting algorithms, dynamic and static lists and basic algorithms github.com/ZAWARTO/ADA-exβ¦

Over 20 Sorting Algorithms visualized using Java! youtu.be/y5puyrEMZ_c

5 Sorting Algorithms And How They Work! programming-hero.com/blogβ¦

I just created a 3D Visualization of Sorting Algorithms in Java. What could i improve? youtube.com/watch?v=bsSu0β¦

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!

Crust of Rust: Sorting Algorithms [video] youtu.be/h4RkCyJyXmM

Bubble sorting algorithm "solving" a randomly puzzled image. v.redd.it/cylc49lvxk161

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

Selection sorting algorithm explained youtu.be/i6BHBXSH8Zs

Visualized over 20 Sorting Algorithms with Java! youtu.be/y5puyrEMZ_c

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

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.

This Visualization of Sorting Algorithms in form of a Christmas Tree is creating some crazy sounds youtu.be/p6rkVqgwVuI

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.