YourAlly

Adobe Senior Principal coding interview questions

These are the 4 coding questions YourAlly has tagged for Adobe at Senior Principal. Senior Principal is the common India title for this level. YourAlly treats it as Senior staff, the same level as Google L7, Meta E7 and Amazon L8.

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 coding is often a smaller part of the loop, but the bar for clarity and speed stays high.

Practice a mock Adobe Senior 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