YourAlly

Adobe SDE-3 coding interview questions

These are the 7 coding questions YourAlly has tagged for Adobe at SDE-3. SDE-3 is the common India title for this level. YourAlly treats it as 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 SDE-3 coding loopPractice Adobe coding questions

Justify Paragraph LinesFree to read

Lay out words into lines of exactly maxWidth characters, as a document layout engine would. Pack greedily, spread extra spaces as evenly as possible with leftover spaces going to the left gaps, and left-justify the last line and any single-word line.

Input: words = ["This","is","an","example","of","text","justification."], maxWidth = 16 Output: ["This is an","example of text","justification. "]

What a strong answer covers

  • Greedy packing counting one space per gap
  • divmod distribution with extra spaces on the left
  • Special case for last line and single-word lines
  • Linear time in output size
  • Tests a word exactly maxWidth long

6 more coding questions

  1. Count Shapes in a Bitmap Mask 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