YourAlly

Adobe Senior coding interview questions

These are the 7 coding questions YourAlly has tagged for Adobe at Senior. On the YourAlly ladder this is Senior, the same level as Google L5, Meta E5 and Amazon L6.

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 the bar is a correct, tested solution you reach mostly on your own, with the trade-offs said out loud.

Practice a mock Adobe Senior coding loopPractice Adobe coding questions

Count Shapes in a Bitmap MaskFree to read

A selection mask is a grid of '1' (selected) and '0' (not selected) pixels. Count the shapes, meaning groups of selected pixels connected up, down, left or right, whose pixel count is at least minArea.

Input: mask = ["11000","11000","00100","00011"], minArea = 1 Output: 3

What a strong answer covers

  • Flood fill per unvisited selected pixel
  • Area counted during traversal and compared to minArea
  • Iterative stack to avoid recursion limits
  • O(rows*cols) time

6 more coding questions

  1. Justify Paragraph Lines Locked
  2. Largest Blank Rectangle on a Page Locked
  3. Normalize Asset Path Locked
  4. Rotate Image Canvas Clockwise Locked
  5. Wildcard Font Name Matching Locked
  6. Two Sum Locked

Sign up free to practice all 7

Related pages

Adobe coding at other levels

Other companies at this level