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
- Count Shapes in a Bitmap Mask Locked
- Largest Blank Rectangle on a Page Locked
- Normalize Asset Path Locked
- Rotate Image Canvas Clockwise Locked
- Wildcard Font Name Matching Locked
- Two Sum Locked
Related pages
Adobe coding at other levels
- Principal 4 questions
- Senior Principal 4 questions
Other companies at this level
- Amazon SDE-3 10 questions
- Apple SDE-3 7 questions
- Cisco SDE-3 6 questions
- Google SDE-3 14 questions
- IBM SDE-3 6 questions
- Intel SDE-3 6 questions