r/ProgrammerHumor • • 2d ago

Meme dynamicProgramming

Post image
5.4k Upvotes

142 comments sorted by

View all comments

41

u/lucklesspedestrian 1d ago

I mean what else are you supposed to do, just run the brute force recursion?

24

u/marcodave 1d ago

"back in my day we brute-forced each day, uphill, BOTH WAYS. You youngsters keep that memoize thingamajigs"

3

u/marmakoide 1d ago

Explicit analytic formula without recursion, computing time independent from parameters value, like a true Chad

1

u/guyblade 17h ago

It's nice when those exist. Sometimes--perhaps even oftentimes--they don't.

0

u/tasos_lydia4 1d ago

Yes, if the judge is willing to wait until the heat death of the universe.