r/ProgrammerHumor • • 2d ago

Meme dynamicProgramming

Post image
5.6k Upvotes

152 comments sorted by

View all comments

Show parent comment

28

u/ss_damon 2d ago

I would be surprised if you hadn't put a cache on a function at some point

14

u/Shehzman 2d ago

I’ve used dictionaries/hash maps as a cache and front end memoized data hundreds of times. It’s just the combination of recursion + memoization that I’ve almost never used.