3 ms·
Do you feel similarly if someone says they used an iterative, recursive, or greedy algorithm? Dynamic programming is a whole chapter in most algorithms books.
by bcrosby95 3y ago
Do you feel similarly if someone says they used an iterative, recursive, or greedy algorithm?
Dynamic programming is a whole chapter in most algorithms books. It's not about showing off, it's the name of the technique.
- throwaway2037 3y agoAs I interpret the GP, the person is peacocking or gate-keeping by (humble)bragging about using dynamic programming to solve a problem. For all we know, they Googled for an efficient algorithm and copied the result. I have done it before, and I have no shame about it. If a teammate asks me how I knew about that dynamic programming algorithm, I would reply: "Are you joking? I could never program that myself. Thank you Google." Except for a few algorithms, most are solved using iterative or recursive.