News for hackers. Stuff that matters.
Re:Dynamic Programming for Technical Interviews by chillee on Friday March 15, 2019 @01:08AM (#19396755)
Yes, there's a ton of DP problems that require clever tricks. I've had to show these tricks to friends who believed that DP problems were too formulaic.

Could you give an example of DP problems that show up in interviews that require problem-specific tricks? I'm contrasting DP problems with other interview questions like: Find whether a linked list has a cycle in O(1) memory or implement a queue with 2 stacks.

There are no comments on this comment yet.