Stripe Senior staff coding interview questions
These are the 5 coding questions YourAlly has tagged for Stripe at Senior staff. On the YourAlly ladder this is Senior staff, the same level as Google L7, Meta E7 and Amazon L8.
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 coding is often a smaller part of the loop, but the bar for clarity and speed stays high.
Practice a mock Stripe Senior staff coding loopPractice Stripe coding questions
Product of Array Except SelfFree to read
Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. You must write an algorithm that runs in O(n) time and does not use division.
Example 1: Input: nums = [1,2,3,4] Output: [24,12,8,6]
Example 2: Input: nums = [-1,1,0,-3,3] Output: [0,0,9,0,0]
Constraints: 2 <= nums.length <= 100000 -30 <= nums[i] <= 30 The product of any prefix or suffix of nums is guaranteed to fit in a 32-bit integer
4 more coding questions
- Binary Tree Level Order Traversal Locked
- Group Anagrams Locked
- Top K Frequent Elements Locked
- Two Sum Locked
Related pages
More Stripe Senior staff rounds
- System design 7 questions
- Behavioral 11 questions
- Project retrospective 7 questions
Stripe coding at other levels
Other companies at this level
- Adobe Senior staff 4 questions
- Airbnb Senior staff 4 questions
- Amazon L8 6 questions
- Anthropic Senior staff 5 questions
- Apple Senior staff 7 questions
- Cisco Senior staff 3 questions