YourAlly

Adobe Staff coding interview questions

These are the 4 coding questions YourAlly has tagged for Adobe at Staff. On the YourAlly ladder this is 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 Staff coding loopPractice Adobe coding questions

Largest Blank Rectangle on a PageFree to read

A rendered PDF page is sampled into a grid where '.' is blank and '#' has ink. To place a stamp, find the largest axis-aligned rectangle made only of blank cells. Return its area.

Input: page = [".#.##",".#...",".....",".##.#"] Output: 6

What a strong answer covers

  • Row-by-row histogram of blank heights
  • Monotonic stack for largest rectangle in histogram
  • Sentinel to flush the stack
  • O(rows*cols) time, O(cols) space

3 more coding questions

  1. Justify Paragraph Lines Locked
  2. Wildcard Font Name Matching Locked
  3. Two Sum Locked

Sign up free to practice all 4

Related pages

Adobe coding at other levels

Other companies at this level