All company sheets
Adobe logo

Adobe DSA interview questions

66 problems to practise before your Adobe online test or coding round. Most widely asked first.

66
Questions
19
Easy
42
Medium
5
Hard

Commonly reported. Problems candidates often report from this company’s coding rounds. These are Astra’s own tags, not an official question list.

Adobe is hiring · 2 open roles on Astra right nowView roles

66 questions

  1. 1

    Two Sum

    EasyArrayTagged at 7 companies
  2. 2

    Find the Distance Value Between Two Arrays

    EasyBinary SearchTagged at 7 companies
  3. 3

    Find the Single Number (Appears Once, Others Twice)

    EasyArrayTagged at 7 companies
  4. 4

    Find the Maximum Number of Consecutive Ones

    EasyArrayTagged at 7 companies
  5. 5

    Count the Number of Ways to Climb Stairs

    EasyArrayTagged at 7 companies
  6. 6

    Reverse Log Viewer

    EasyTwo PointersTagged at 7 companies
  7. 7

    Mutual Friends Finder

    EasyTwo PointersTagged at 7 companies
  8. 8

    Signal Processing Amplitude Sorting

    EasyTwo PointersTagged at 7 companies
  9. 9

    Move Zeroes

    EasyTwo PointersTagged at 7 companies
  10. 10

    Search in Rotated Sorted Array

    MediumArrayTagged at 7 companies
  11. 11

    Find K Closest Elements

    MediumArrayTagged at 7 companies
  12. 12

    Find the Lowest Common Ancestor of a Binary Tree

    MediumRecursionTagged at 7 companies
  13. 13

    Find All Binary Tree Paths Summing to Target

    MediumRecursionTagged at 7 companies
  14. 14

    Find the Kth Smallest Element in a BST

    MediumRecursionTagged at 7 companies
  15. 15

    Find the K-th Symbol in Grammar

    MediumRecursionTagged at 7 companies
  16. 16

    Maximize Stolen Money from House Robber in a Binary Tree

    MediumRecursionTagged at 7 companies
  17. 17

    Find All Beautiful Arrangements of Numbers

    MediumRecursionTagged at 7 companies
  18. 18

    Search in a Nearly Sorted Array

    MediumBinary SearchTagged at 7 companies
  19. 19

    Find Position of an Element in an Infinite Sorted Array

    MediumBinary SearchTagged at 7 companies
  20. 20

    Find the Minimum Limit of Balls in a Bag

    MediumBinary SearchTagged at 7 companies
  21. 21

    Count the Number of Matching Subsequences

    MediumBinary SearchTagged at 7 companies
  22. 22

    Find the Duplicate Number (Binary Search on Answer)

    MediumBinary SearchTagged at 7 companies
  23. 23

    Find Minimum Absolute Sum Difference (with Replacement)

    MediumBinary SearchTagged at 7 companies
  24. 24

    Rotate a 2D Matrix Image by 90 Degrees In-Place

    MediumArrayTagged at 7 companies
  25. 25

    Database Primary Key Collision

    MediumTwo PointersTagged at 7 companies
  26. 26

    Sort Colors

    MediumTwo PointersTagged at 7 companies
  27. 27

    Check if a Linked List is a Palindrome

    EasyLinkedListTagged at 6 companies
  28. 28

    Count Nodes in a Circular Linked List

    EasyLinkedListTagged at 6 companies
  29. 29

    Design a Stack using a Doubly Linked List

    EasyLinkedListTagged at 6 companies
  30. 30

    Check if a Linked List is Identical to Another

    EasyLinkedListTagged at 6 companies
  31. 31

    Implement N-ary Tree Preorder Traversal

    EasyTreeTagged at 6 companies
  32. 32

    Check if Two Strings are Valid Anagrams

    EasyStringTagged at 6 companies
  33. 33

    Reverse a String In-Place

    EasyStringTagged at 6 companies
  34. 34

    Remove All Adjacent Duplicates in a String

    EasyStringTagged at 6 companies
  35. 35

    Find the Longest Common Prefix (Vertical Scanning)

    EasyStringTagged at 6 companies
  36. 36

    Longest Common Subsequence

    MediumDynamic ProgrammingTagged at 6 companies
  37. 37

    Longest Substring with At Most Two Distinct Characters

    MediumStringTagged at 6 companies
  38. 38

    Serialize and Deserialize BST

    MediumTreeTagged at 6 companies
  39. 39

    Decode String

    MediumStackTagged at 6 companies
  40. 40

    Coin Change 2 (Combinations)

    MediumDPTagged at 6 companies
  41. 41

    Unique Paths II

    MediumDPTagged at 6 companies
  42. 42

    Maximum Sum Circular Subarray

    MediumDPTagged at 6 companies
  43. 43

    Largest Divisible Subset

    MediumDPTagged at 6 companies
  44. 44

    Decode String with Repeating Encoded Substrings

    MediumStack and QueueTagged at 6 companies
  45. 45

    Remove K Digits from a Number to Make Smallest

    MediumStack and QueueTagged at 6 companies
  46. 46

    Find First Non-Repeating Character in a Stream

    MediumStack and QueueTagged at 6 companies
  47. 47

    Find the Maximum Width Ramp in an Array

    MediumStack and QueueTagged at 6 companies
  48. 48

    Design a Hit Counter for Recent Hits

    MediumStack and QueueTagged at 6 companies
  49. 49

    Find Next Greater Node in Linked List

    MediumLinkedListTagged at 6 companies
  50. 50

    Split a Circular Linked List into Two Halves

    MediumLinkedListTagged at 6 companies
  51. 51

    Merge Two Lists at Alternate Positions

    MediumLinkedListTagged at 6 companies
  52. 52

    Implement a Trie (Prefix Tree) - StartsWith

    MediumTreeTagged at 6 companies
  53. 53

    Implement a Binary Heap (Min-Heap) - Insert

    MediumTreeTagged at 6 companies
  54. 54

    Design an Encode and Decode Strings (System Design)

    MediumStringTagged at 6 companies
  55. 55

    Reverse Words in a String (O(1) Space)

    MediumStringTagged at 6 companies
  56. 56

    Reorganize String to Avoid Adjacent Duplicates

    MediumStringTagged at 6 companies
  57. 57

    Find the Median of Two Sorted Arrays

    HardBinary SearchTagged at 6 companies
  58. 58

    Find the Latest Step to Form a Group of Size M

    HardBinary SearchTagged at 6 companies
  59. 59

    Calculate Trapping Rain Water (Two Pointers)

    HardArrayTagged at 6 companies
  60. 60

    Shortest Path in Undirected Graph with Unit Weights

    EasyGraphTagged at 5 companies
  61. 61

    Permutations

    MediumBacktrackingTagged at 5 companies
  62. 62

    Minimum Genetic Mutation

    MediumGraphTagged at 5 companies
  63. 63

    Topological Sorting (Kahn’s Algorithm)

    MediumGraphTagged at 5 companies
  64. 64

    Surrounded Regions (Flood Fill)

    MediumGraphTagged at 5 companies
  65. 65

    Instagram Feed Aggregator

    HardLinked ListTagged at 5 companies
  66. 66

    Best Time to Buy and Sell Stock IV

    HardDPTagged at 4 companies

More company sheets