this post was submitted on 02 Aug 2024
358 points (97.4% liked)

Programmer Humor

32316 readers
199 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 21 points 2 months ago (2 children)

Acshually, in the context of O(N^2) N can be seen to constantly be equal to N and thus, as a constant, we can ignore it in our O analysis.

Yes, my bubble sort does run in O(1)

[–] 0x0@lemmy.dbzer0.com 6 points 2 months ago

Get out of my office

[–] Alienmonkey@lemm.ee 4 points 2 months ago* (last edited 2 months ago)

Bubble sort? This wizard talk shall not pass.

My god, some of us can't read past select queries and v-lookup ruins.

On a Friday no less.