Adobe Coding Interview Questions
26 Adobe coding interview problems with full optimal solutions — 15 easy, 8 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Adobe interviewer values, and a FAQ section.
Showing 17 problems of 26
- #1easyfrequently asked
1. Two Sum
Given an array of integers and a target, return indices of the two numbers that add up to the target. Adobe phone screens use this as the warm-up that decides whether you understand the array-to-hashmap conversion that powers nearly every duplicate/lookup task in image-processing pipelines.
- #2easyfrequently asked
2. Valid Parentheses
Given a string of brackets, determine whether every opener has a matching closer in the right order. Adobe uses this to grade whether you reach for a stack reflexively — the same data structure that powers SVG path tag balancing and undo/redo state.
- #3easyfrequently asked
3. Merge Two Sorted Lists
Merge two sorted singly-linked lists into one sorted list, reusing the existing nodes. Adobe uses this as the pointer-manipulation litmus test — the same merge logic underlies layer compositing where two ordered Z-stacks combine into one.
- #4easyfrequently asked
4. Remove Duplicates from Sorted Array
Given a sorted array, remove duplicates in-place and return the new length. Adobe tests this because in-place mutation on large pixel/sample arrays is a hot path — every byte allocated is a frame dropped.
- #6easyfrequently asked
6. Search Insert Position
Given a sorted array and a target, return the index where the target would be inserted to keep the array sorted. Adobe uses this to test whether you can write boundary-correct binary search — the same primitive used in z-order insertion of layers.
- #8easyfrequently asked
8. Merge Sorted Array
Merge two sorted arrays where the first has trailing space to hold the merged result. Adobe asks this to test whether you'll spot the right-to-left trick that avoids overwriting unread data — a pattern that appears in scanline buffer compositing.
- #9easyfrequently asked
9. Binary Tree Inorder Traversal
Return the inorder traversal of a binary tree's node values. Adobe asks this to confirm you can convert between recursive and iterative tree traversals — the same flexibility you need when traversing nested SVG groups or PSD layer trees.
- #12easyfrequently asked
12. Maximum Depth of Binary Tree
Given the root of a binary tree, return its maximum depth. Adobe uses this to validate recursive thinking that directly mirrors how document tree structures and layer hierarchies are traversed in creative applications.
- #13easyfrequently asked
13. Path Sum
Determine if a binary tree has a root-to-leaf path whose node values sum to a given target. Adobe uses this to test recursive DFS reasoning and the candidate's ability to propagate state down a tree — skills central to traversing document and scene graph hierarchies.
- #15easyfrequently asked
15. Best Time to Buy and Sell Stock
Given an array of stock prices, find the maximum profit from one buy-sell transaction. Adobe uses this to test single-pass sliding window thinking and the candidate's ability to track a running minimum — skills applicable to range normalization and histogram equalization in image processing.
- #16mediumfrequently asked
16. Rotate Image
Rotate an n×n matrix 90 degrees clockwise in-place. Adobe is a graphics and imaging company — in-place 2D array transformations are a core competency that appears directly in image rotation, canvas transforms, and pixel buffer manipulation across Photoshop, Lightroom, and Illustrator.
- #17mediumfrequently asked
17. Spiral Matrix
Return all elements of an m×n matrix in spiral order. Adobe's heavy focus on 2D array manipulation and image-buffer traversal makes this a recurring interview problem — spiral traversal is a canonical test of boundary-shrinking logic for pixel scan patterns.
- #19mediumfrequently asked
19. Merge Intervals
Given a collection of intervals, merge all overlapping intervals. Adobe uses interval merging extensively in creative applications — timeline editing in Premiere Pro, selection ranges in Photoshop, and layer time spans all require efficient overlap detection and merging.
- #21mediumfrequently asked
21. Word Search
Determine if a word exists in an m×n character grid where letters must be adjacent horizontally or vertically. Adobe uses this as a signature 2D DFS/backtracking problem — the grid-search pattern is directly applicable to font glyph shape recognition, texture atlas lookups, and region-growing algorithms in image segmentation.
- #23mediumfrequently asked
23. Validate Binary Search Tree
Determine if a binary tree is a valid BST. Adobe asks this to test whether candidates understand the global invariant (not just local parent-child comparisons) — a level of rigor that mirrors validating hierarchical constraint systems in document structure and layout engines.
- #24hardfrequently asked
24. Trapping Rain Water
Given an elevation map, compute how much water it can trap after raining. Adobe uses this hard problem to test whether candidates can derive the two-pointer O(n) insight from first principles — the same "what constrains this position" reasoning appears in histogram-based image segmentation and raster-scan compression.
- #25hardfrequently asked
25. Largest Rectangle in Histogram
Find the area of the largest rectangle that can be formed within a histogram. Adobe uses this hard stack problem in onsite rounds because the monotonic-stack pattern for span/extent calculations appears directly in raster image run-length encoding, histogram equalization, and canvas selection-area optimization.
Related interview-prep guides
Tavus.io Alternatives in 2026: 6 Tools Compared (AI Interview Avatars + Candidate Help)
Tavus.io builds AI-generated personalized video and AI interview avatars for hiring teams. The 'tavus io alternative' search isn't usually about replacing Tavus on the recruiter side. It's candidates discovering that Tavus is built for the wrong side of the table and looking for a tool that helps them prep for or pass an AI-avatar interview. Here's the honest comparison: 6 alternatives, what each one is actually good at, and the decision tree by what you're trying to do.