InterviewLegend

Dynamic Programming

Alex Chen35 min readUpdated 381 real interview reports

Dynamic programming sits in the middle tier of an Adobe loop. The exotic, intimidating variants stay rare. The problems Adobe leans on here are the classic medium tier: two Premium questions, Climbing Stairs, Longest Increasing Subsequence, Decode Ways, and the palindrome family. A Premium question in particular is one of the DP questions Adobe asks most. A clean 1-D table or a short grid is far likelier than an exotic interval-DP or bitmask puzzle. What the bar comes down to: a recurrence the interviewer can read straight off your code.

Every one of these problems yields to the same four-step recipe. Name the state, write the recurrence, pin the base cases, then fill the table in an order that has each answer ready before it is needed. Once those four are on the page, the code is almost mechanical. The skill Adobe is checking is whether you can define the state cleanly and defend the recurrence. Memorizing a specific table earns nothing.

What's inside
  • 3 problems, worked step by step
  • about 35 min

Premium lessonAdobe 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

Had your Adobe interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Adobe interview guide

Know what Adobe asks before you walk in.

20 coding · 4 system design · 22 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.