this post was submitted on 02 Jul 2023
39 points (95.3% liked)

Programmer Humor

32759 readers
618 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
[–] julianh@lemm.ee 5 points 2 years ago

Any algorithm can be O(1) if you cache all the answers beforehand.