this post was submitted on 31 Aug 2024
11 points (92.3% liked)

Data Structures and Algorithms

241 readers
1 users here now

A community dedicated to topics related to data structures and algorithms.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] arendjr@programming.dev 3 points 11 months ago (9 children)

Dunno what to say except that I started programming as an early teenager without formal education, so I “invented” bubble sort before I ever heard of other sorting mechanisms.

I agree it shouldn’t be used in real-life, but to me it’s pretty intuitive and at least I’ve disproven that “nobody” comes up with this by themselves :)

[–] BatmanAoD@programming.dev 2 points 11 months ago* (last edited 11 months ago) (3 children)

You specifically came up with bubble sort and not insertion sort?

(Edit: sorry for the duplicates; my internet connection is not great.)

[–] arendjr@programming.dev 1 points 11 months ago* (last edited 11 months ago) (1 children)

~~Yes :)~~

Edit: Sorry, this wasn't true, see other comment!

[–] kaffiene@lemmy.world 1 points 11 months ago
load more comments (1 replies)
load more comments (6 replies)