this post was submitted on 31 Aug 2024
12 points (92.9% liked)

Data Structures and Algorithms

172 readers
1 users here now

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

founded 8 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] BatmanAoD 2 points 2 months ago* (last edited 2 months ago) (2 children)

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

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

[โ€“] arendjr 3 points 2 months ago

Actually, I stand corrected. I just looked into insertion sort again, and you're right, it was insertion sort I initially came up with. The funny thing is, I was later taught "bubble sort" in an Informatics class in high school... but in reality that was insertion sort too!

So it seems I was taught under the wrong name and never realized, I wonder how many others are in the same boat ๐Ÿ˜…

[โ€“] arendjr 1 points 2 months ago* (last edited 2 months ago) (1 children)

~~Yes :)~~

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

[โ€“] [email protected] 1 points 2 months ago