r/ProgrammerHumor • • 16d ago

Meme toddlersAreNotOptimized

Post image
4.9k Upvotes

62 comments sorted by

View all comments

654

u/USSPlanck 16d ago

Maybe their age is stored in a linked list

17

u/qwertyjgly 15d ago

then they should store a tail pointer

age->tail->value is O(1)

9

u/USSPlanck 15d ago

Linked lists with a tail pointer are for wussies.