r/ProgrammerHumor • • 2d ago

Meme dynamicProgramming

Post image
5.6k Upvotes

152 comments sorted by

View all comments

42

u/lucklesspedestrian 2d ago

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

24

u/marcodave 2d ago

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

3

u/marmakoide 2d ago

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

1

u/guyblade 1d ago

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

0

u/tasos_lydia4 2d ago

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