News for hackers. Stuff that matters.
Re:Dynamic Programming for Technical Interviews by 01100011 on Saturday March 16, 2019 @01:18AM (#19406464)
> if there is IO or api calls involved

Right. In my case, the operation was an extra memory comparison. For something already in the cache.

Sure, constraints can change and your assumptions about n<10k may prove unwise, but that's our call to make as engineers. YAGNI. If you know n is never going to grow, then why waste time on it? We're not paid to write pristine code. We're paid to solve problems while hopefully not creating new ones. Pragmatism and all that.

There are no comments on this comment yet.