3 ms·
I've really only used dynamic programming once on a real problem, but I have to pick the right data structure all the time and at least think about the algorith
by worker767424 6y ago
I've really only used dynamic programming once on a real problem, but I have to pick the right data structure all the time and at least think about the algorithm. I've seen people write code that's anywhere from n^2 to exponential, only to see it fail pretty hard when working on production data.