All company sheets
Stripe DSA interview questions
62 problems to practise before your Stripe online test or coding round. Most widely asked first.
62
Questions
12
Easy
42
Medium
8
Hard
Commonly reported. Problems candidates often report from this company’s coding rounds. These are Astra’s own tags, not an official question list.
Stripe is hiring · 104 open roles on Astra right nowView roles62 questions
- 1
Two Sum II - Input Array Is Sorted
EasyArrayTagged at 7 companies - 2
Check if a Binary Tree is Height-Balanced
EasyRecursionTagged at 7 companies - 3
Guess Number Higher or Lower (API Game)
EasyBinary SearchTagged at 7 companies - 4
Find Two Indices That Sum to a Target Value
EasyArrayTagged at 7 companies - 5
Resource Allocation Matcher
EasyTwo PointersTagged at 7 companies - 6
Squares of a Sorted Array
EasyTwo PointersTagged at 7 companies - 7
Find All Combinations that Sum to Target II (No Duplicates)
MediumRecursionTagged at 7 companies - 8
Find the Maximum Area of an Island
MediumRecursionTagged at 7 companies - 9
Find the Number of Provinces in a Country
MediumRecursionTagged at 7 companies - 10
Find First and Last Position of Element in Sorted Array
MediumBinary SearchTagged at 7 companies - 11
Solve the Aggressive Cows Problem
MediumBinary SearchTagged at 7 companies - 12
Search in Rotated Sorted Array II (with Duplicates)
MediumBinary SearchTagged at 7 companies - 13
Search in a Bitonic (Mountain) Array
MediumBinary SearchTagged at 7 companies - 14
Find the Minimum Limit of Balls in a Bag
MediumBinary SearchTagged at 7 companies - 15
Count the Number of Matching Subsequences
MediumBinary SearchTagged at 7 companies - 16
Find Minimum Time to Complete All Trips
MediumBinary SearchTagged at 7 companies - 17
Rotate an Array to the Right by K Steps
MediumArrayTagged at 7 companies - 18
Merge Overlapping Intervals in an Array
MediumArrayTagged at 7 companies - 19
Generate the Next Lexicographical Permutation
MediumArrayTagged at 7 companies - 20
Generate All Subsets (The Power Set)
MediumArrayTagged at 7 companies - 21
Find the Longest Subarray of 1s After Deleting One Element
MediumArrayTagged at 7 companies - 22
Find Intersections of Two Interval Lists
MediumArrayTagged at 7 companies - 23
Financial Fraud Detection
MediumArrayTagged at 7 companies - 24
Network Uptime Longest Streak
MediumSliding WindowTagged at 7 companies - 25
Traffic Congestion Relief Window
MediumSliding WindowTagged at 7 companies - 26
Risk Management Portfolio Balancing
MediumTwo PointersTagged at 7 companies - 27
Maximum Points You Can Obtain from Cards
MediumSliding WindowTagged at 7 companies - 28
Longest Palindrome
EasyStringTagged at 6 companies - 29
Count Number of Recent Calls in a Ping Counter
EasyStack and QueueTagged at 6 companies - 30
Reverse a Singly Linked List Iteratively
EasyLinkedListTagged at 6 companies - 31
Check if a Linked List is Sorted
EasyLinkedListTagged at 6 companies - 32
Find the Maximum Depth of an N-ary Tree
EasyTreeTagged at 6 companies - 33
Find the Longest Common Prefix of Strings
EasyStringTagged at 6 companies - 34
Unique Paths
MediumDynamic ProgrammingTagged at 6 companies - 35
Minimum Path Sum in Grid
MediumDPTagged at 6 companies - 36
Largest Divisible Subset
MediumDPTagged at 6 companies - 37
Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
MediumDPTagged at 6 companies - 38
Evaluate Arithmetic Expression in Reverse Polish Notation
MediumStack and QueueTagged at 6 companies - 39
Simplify Unix-Style Absolute File System Path
MediumStack and QueueTagged at 6 companies - 40
Implement Basic Calculator II with Multiplication and Division
MediumStack and QueueTagged at 6 companies - 41
Validate Stack Sequences with Push and Pop Operations
MediumStack and QueueTagged at 6 companies - 42
Sort a Linked List Using Insertion Sort
MediumLinkedListTagged at 6 companies - 43
Reverse a Doubly Linked List
MediumLinkedListTagged at 6 companies - 44
Implement a Basic Circular Linked List
MediumLinkedListTagged at 6 companies - 45
Segregate Even and Odd Nodes in a Linked List
MediumLinkedListTagged at 6 companies - 46
Find Triplet with a Given Sum in a Doubly Linked List
MediumLinkedListTagged at 6 companies - 47
Merge Two Sorted Lists in Reverse Order
MediumLinkedListTagged at 6 companies - 48
Count Good Nodes in a Binary Tree (Amazon)
MediumTreeTagged at 6 companies - 49
Count All Palindromic Substrings in a String
MediumStringTagged at 6 companies - 50
Reverse Words in a String (O(1) Space)
MediumStringTagged at 6 companies - 51
Find the Longest Substring with No Repeating Characters
MediumStringTagged at 6 companies - 52
Solve the N-Queens Puzzle
HardRecursionTagged at 6 companies - 53
Find a Peak Element in a 2D Grid
HardBinary SearchTagged at 6 companies - 54
Find the K-th Smallest Prime Fraction
HardBinary SearchTagged at 6 companies - 55
Meeting Rooms II
MediumHeapTagged at 5 companies - 56
Bellman-Ford Algorithm
MediumGraphTagged at 5 companies - 57
Skyscanner Flight Aggregator
MediumGraphTagged at 5 companies - 58
Binary Tree Maximum Path Sum
HardTreeTagged at 5 companies - 59
Serialize and Deserialize a Binary Tree (Level-Order)
HardStack and QueueTagged at 5 companies - 60
Swap Nodes in a Linked List in k-Group (Recursive)
HardLinkedListTagged at 5 companies - 61
Implement a B-Tree (Conceptual)
HardTreeTagged at 5 companies - 62
Implement the Rabin-Karp String Matching Algorithm
HardStringTagged at 5 companies