YourAlly

Adobe Principal coding interview questions

These are the 4 coding questions YourAlly has tagged for Adobe at Principal. Principal is the common India title for this level. YourAlly treats it as Staff (E6), the same level as Google L6, Meta E6 and Amazon L7.

A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level interviewers also expect clean code quickly and edge cases you raise before they do.

Practice a mock Adobe Principal coding loopPractice Adobe coding questions

Wildcard Font Name MatchingFree to read

A font picker filters installed fonts with wildcard patterns, where '?' matches exactly one character and '*' matches any sequence including an empty one. Return whether pattern matches the entire font name.

Input: name = "Helvetica-Bold", pattern = "Helv*-Bold" Output: true

What a strong answer covers

  • Prefix DP with the two '*' transitions
  • Greedy backtracking to the last star
  • Trailing stars after the name is consumed
  • Empty name and empty pattern cases
  • Complexity of both approaches

3 more coding questions

  1. Justify Paragraph Lines Locked
  2. Largest Blank Rectangle on a Page Locked
  3. Two Sum Locked

Sign up free to practice all 4

Related pages

Adobe coding at other levels

Other companies at this level