Gnome Sort

  Рет қаралды 94,901

Timo Bingmann

Timo Bingmann

Күн бұрын

Пікірлер: 94
@JBlooey
@JBlooey 6 жыл бұрын
I’m gnot a gnelf. I’m gnot a gnoblin. I’m a gnome. And you’ve been GNOME SORTED
@St-ef9ru
@St-ef9ru 5 жыл бұрын
Ok
@sciphonpylon
@sciphonpylon 4 жыл бұрын
Ok
@theemeraldblock3191
@theemeraldblock3191 4 жыл бұрын
Ok
@ricestrange
@ricestrange 4 жыл бұрын
Ok
@happypiano4810
@happypiano4810 4 жыл бұрын
Ok
@BrandNewByxor
@BrandNewByxor 8 жыл бұрын
I can feel the gnome biting at my kneecaps angrily.
@FornicateWithRaptors
@FornicateWithRaptors 11 жыл бұрын
woo-woo-wooooo-wooo-woowoooo...
@samdude278
@samdude278 11 жыл бұрын
insertion sort doesn't move the piece that it is checking until it finds a piece that is smaller and then puts it in front of it, Gnome sort is like insertion sort but it uses the same checking method as bubble sort by swapping every piece until one is smaller than it and it move onto the next piece.
@CurtisJensenGames
@CurtisJensenGames 5 жыл бұрын
SD278 thank you
@ouch9841
@ouch9841 3 жыл бұрын
It looks like me.
@zxlty
@zxlty 3 жыл бұрын
YOU JUST MADE ME FINALLY UNDERSTAND THESE
@quink2060
@quink2060 7 жыл бұрын
I'd like to see "Bogobogosort," which wikipedia says will not end before the heat death of the universe. I can't quite wrap my head around how it works, i just want to see it try to do that.
@Fera-gr5mm
@Fera-gr5mm 6 жыл бұрын
well it just makes all the values random, so if you are lucky and randomize everything sorted (chance = 1/(1*2*3*4...*n)), you only need to make n-1 comparisons
@bitonic589
@bitonic589 Жыл бұрын
@@Fera-gr5mm smh no. not how it works. you described normal bogo sort.
@alvinalpha_seven5330
@alvinalpha_seven5330 Күн бұрын
@@Fera-gr5mmno, the way it works is by bogosorting first 2 elements, 3, 4, and all the way up to n
@BigOlSmellyFlashlight
@BigOlSmellyFlashlight 8 жыл бұрын
*Keemsort
@OverseerXIII
@OverseerXIII 5 жыл бұрын
Get into the noose
@Goldrusher-ee3jo
@Goldrusher-ee3jo 4 жыл бұрын
Someone had to do it
@ErrNOT
@ErrNOT Жыл бұрын
"THAT'S THE SOUND OF A POLICE"
@Ambipie
@Ambipie 4 жыл бұрын
"It inserts fast but with a crest, and it kind of has anxiety" "G IT LOOKS LIKE A GNOME BAHAHAHAHA" "Gnome Sort it is."
@dorothywhritenor8082
@dorothywhritenor8082 8 жыл бұрын
So apparently I gnome sort when alphabetizing.
@raffimolero64
@raffimolero64 5 жыл бұрын
except you hold the book in your hands instead of swapping it every time
@hiimemily
@hiimemily 4 жыл бұрын
More likely you insertion sort, but it would be funny to watch someone repeatedly insert and remove the same book on a shelf, moving it one over every time.
@isavenewspapers8890
@isavenewspapers8890 Жыл бұрын
@@hiimemilyI see you constantly.
@hiimemily
@hiimemily Жыл бұрын
@@isavenewspapers8890 _i am omnipresent_
@quink2060
@quink2060 7 жыл бұрын
that's one angry gnome
@masicbemester
@masicbemester 7 жыл бұрын
Quin K Angery Keemstar
@Tappy_tap
@Tappy_tap 3 жыл бұрын
WOWOWOWOW
@GellyGelbertson
@GellyGelbertson 11 жыл бұрын
Looking at the insertion sort video, there's a marked leading variable that's green which isn't here, meaning, i'm guessing, that gnome sort does the insertion sort, but checks that everything is in order going forwards down the list until it finds a variable that isn't, and uses the nsertion sort again.
@want-diversecontent3887
@want-diversecontent3887 6 жыл бұрын
Gelly If pair not sorted, swap then go left. If pair sorted, go right.
@brenkrasmer
@brenkrasmer 6 жыл бұрын
@@want-diversecontent3887 It's a kind of sort that doesn't need an iterator; a subset of coding language that says "Do the following X Times". The advantage of it being that if the sort is interrupted, it can start from square 1 without having to do some "How much of this is already sorted?" check or repeating functions that it's already gone over.
@want-diversecontent3887
@want-diversecontent3887 6 жыл бұрын
Gnome sort: Go left if unsorted, go right if sorted.
@AlexAegisOfficial
@AlexAegisOfficial 8 жыл бұрын
so the numbers in reverse order is the worst case scenario for this kind of sort, isnt it?
@OrangeC7
@OrangeC7 8 жыл бұрын
So, one thing you could do is check if the list is in reverse (however unlikely that may be, but...) and THEN, if not, do the sort. Otherwise, reverse it, try the sort (just in case), and then finish. Although this may seem to take up more computing power and time, it really shouldn't. If the list IS in reverse order, it'll go really quickly testing for it. Otherwise, you could check up to halfway and then think,"Well, it'll speed up the process anyway to reverse the whole thing at this point." Correct me if I'm wrong about any of that. =D
@raffimolero64
@raffimolero64 6 жыл бұрын
you've been g'no.
@viengsamphet
@viengsamphet 6 жыл бұрын
Merge Sort: *divide and conquer* Gnome Sort: *EATING TIME*
@5680asdf
@5680asdf 6 жыл бұрын
i'm a gnome, and you'vr been... sooorted
@FarmYardGaming
@FarmYardGaming Жыл бұрын
Found something fun, if you stare at the top of a moving bar it looks like it's filling in the space above it as it gets sorted
@Knuckx117
@Knuckx117 8 жыл бұрын
this sounds like a siren.
@lightsouldark855
@lightsouldark855 4 жыл бұрын
mom: why you don't lke a neighbor dog? neighbor dog: wooo-wo-wooo-owo-woo
@agrimpuriya2585
@agrimpuriya2585 3 жыл бұрын
This has the same feels as Insertion sort.
@ramiel555
@ramiel555 8 жыл бұрын
love the sound of this one the most I think :P
@bitrunner8759
@bitrunner8759 4 жыл бұрын
Gnome sort: punch the numbers in the face a bunch keep going keep going sorted
@Yohanyothan
@Yohanyothan 4 жыл бұрын
@Timo Bingmann how is this different from insertion sort?
@YllidTheLoonyDog
@YllidTheLoonyDog 2 жыл бұрын
It really went WOOOOOOoooooow
@AustinALiboiron
@AustinALiboiron Жыл бұрын
People trying to break up a fight:
@jakerussell135
@jakerussell135 3 жыл бұрын
I think the only difference between this and an insertion sort is that it checked before going back to the end, is this right?
@ocks3623
@ocks3623 5 жыл бұрын
No one: My dog when it gets left alone for 2 nanoseconds: (put it on 2 speed)
@Al93271
@Al93271 6 жыл бұрын
How is this any different to insertion sort? They do the same thing, but gnome sort is slower. Also, what does this have to do with gnomes? Like, why on earth is it gnome sort?
@want-diversecontent3887
@want-diversecontent3887 6 жыл бұрын
KooperSpeederYT No idea why it's called that, but gnome sort is a version of insertion sort without loops.
@skunkfac3
@skunkfac3 6 жыл бұрын
@@want-diversecontent3887 Nested loops*
@Gozammer
@Gozammer 4 жыл бұрын
Thanks a lot for explanation. Better then my teacher does!
@marymitchell3386
@marymitchell3386 3 жыл бұрын
It is like the insertion sort but slower
@MADMACHlNE
@MADMACHlNE 7 жыл бұрын
It sounds almost musical...
@PelicanOfDeath
@PelicanOfDeath 6 жыл бұрын
I've been gnomed.
@JBlooey
@JBlooey 6 жыл бұрын
I'm gnot a gnoblin.
@InsanePsychoRabbit
@InsanePsychoRabbit 7 жыл бұрын
This seems like a less efficient version of insertion sort.
@qwertyuioph
@qwertyuioph 2 жыл бұрын
it is
@lpsp442
@lpsp442 5 жыл бұрын
Revving up the lawnmower sort
@FarmYardGaming
@FarmYardGaming 3 жыл бұрын
Sirens?!
@The-pf4zy
@The-pf4zy 6 жыл бұрын
Did gnomes make this sort?
@natemajor6560
@natemajor6560 4 жыл бұрын
old video game sound effects be like:
@dennisnagel3113
@dennisnagel3113 4 жыл бұрын
Great JOB
@dinko_ayonima
@dinko_ayonima 2 жыл бұрын
NOOOOOO losing braincells 💀
@Tappy_tap
@Tappy_tap 3 жыл бұрын
Wowowowowow
@Al93271
@Al93271 6 жыл бұрын
It should be could be called the pow-pow-pow sort.
@1_3_37
@1_3_37 3 жыл бұрын
It hears like wowowowowowowowowowowowow
@birchtree5884
@birchtree5884 5 жыл бұрын
When you need to sort desktop environments
@fishanimals
@fishanimals 4 жыл бұрын
Gnome Sounds
@SoldiesBC
@SoldiesBC Жыл бұрын
WOW! WOW! WOWOW! WOWOW! WOW!
@cr4b4ppl
@cr4b4ppl 3 жыл бұрын
"HOOH-"
@austin3705
@austin3705 6 жыл бұрын
woah
@thatoneguy9582
@thatoneguy9582 5 жыл бұрын
hoo
@LitttleFarmLife
@LitttleFarmLife Жыл бұрын
Wowowoooooooooowowoooooooowowooooooo
@SPFSGG
@SPFSGG 8 ай бұрын
WAUU WAUU WAWAUU
@lecharcutier3637
@lecharcutier3637 6 жыл бұрын
*hoo hoo ha ha hoo hoo hee hee ha ha*
@Ben420
@Ben420 5 жыл бұрын
GGXGANG
@Link75300
@Link75300 6 жыл бұрын
Looks like apex analytics
@Emshii_
@Emshii_ 2 жыл бұрын
What am I doing with my life….
@theAmazingJunkman
@theAmazingJunkman 5 жыл бұрын
aka doggo sort
@autistwhobreaksice
@autistwhobreaksice 2 жыл бұрын
at 2x speed it sounds like the police are at my door
15 Sorting Algorithms in 6 Minutes
5:50
Timo Bingmann
Рет қаралды 25 МЛН
Making Audio Waves That Look and Sound Like Things
4:19
Japhy Riddle
Рет қаралды 3,6 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
10 FORBIDDEN Sorting Algorithms
9:41
Ardens
Рет қаралды 976 М.
Gravity Sort (Beadsort)
7:16
Musicombo
Рет қаралды 33 М.
Obscure Sorting Algorithms
4:06
Sorting Stuff
Рет қаралды 700 М.
LSD Radix Sort with High Bases
3:43
SlayerNate26
Рет қаралды 64 М.
GNOME SORT: How (NOT) To Sort Your Arrays.
6:08
NoNumberMan
Рет қаралды 8 М.
Listening to Sorting Algorithms!
17:16
Kitty Beans
Рет қаралды 765 М.
50+ Sorts, Visualized - Scatter Plot
30:21
Musicombo
Рет қаралды 746 М.
50+ Sorts, Visualized - Reversed Inputs
27:10
Musicombo
Рет қаралды 220 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН