Dynamic Programming
Dynamic programming is a real but contained band of LinkedIn's coding surface. It is not a DP-heavy shop the way some trading and infra teams are, where a hard table problem is the whole round. Here DP is a handful of recurring names inside the reused tagged set. The same ones keep coming back: three Premium questions and its circular sequel, two Premium questions II, the occasional Word Break or Coin Change. Two Premium questions sit near the top of that DP cluster, both recurring in well over half the LinkedIn loops that surface DP at all. Learn this short list cold and you have covered most of what LinkedIn draws.
DP earns a careful pass even though the slice is small, for one LinkedIn-specific reason. On the phone screen, candidates report you write complete code in CoderPad and nobody runs it, so you trace your own examples by hand instead. DP is the pattern least forgiving of that. A recurrence can read fine on the screen and still be off by one in the base case, or pull the answer from the wrong variable, with no Run button to catch it. So the bar is deriving the recurrence and then proving it by hand, walking an input through the table until it returns the right number before anyone compiles a thing.
- 3 problems, worked step by step
- about 22 min
Premium lessonLinkedIn interview guide
These took digging.
What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.
100 companies. Checked every month.
Unlock all 100 companies$49 a year · less than $1 a week · Cancel anytime
LinkedIn interview guideKnow what LinkedIn asks before you walk in.
16 coding · 5 system design · 26 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.