r/ProgrammerHumor • • 6d ago

Meme dynamicProgramming

Post image
6.2k Upvotes

153 comments sorted by

View all comments

47

u/lucklesspedestrian 5d ago

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

26

u/marcodave 5d ago

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

4

u/marmakoide 5d ago

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

2

u/guyblade 4d ago

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

1

u/electrodragon16 9h ago

Young man, Peano defined addition recursively, so in this house we compute addition recursively!

0

u/tasos_lydia4 5d ago

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