Stripe Senior EM coding interview questions
These are the 5 coding questions YourAlly has tagged for Stripe at Senior EM. Senior EM (M2) is the level where you manage other managers.
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. Manager loops include less coding, but you still need to reason about code and review it well.
Practice a mock Stripe Senior EM coding loopPractice Stripe coding questions
Top K Frequent ElementsFree to read
Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.
Example 1: Input: nums = [1,1,1,2,2,3], k = 2 Output: [1,2]
Example 2: Input: nums = [1], k = 1 Output: [1]
Constraints: 1 <= nums.length <= 100000 -1000000000 <= nums[i] <= 1000000000 1 <= k <= number of distinct elements in nums
4 more coding questions
- Binary Tree Level Order Traversal Locked
- Group Anagrams Locked
- Product of Array Except Self Locked
- Two Sum Locked
Related pages
More Stripe Senior EM rounds
- System design 7 questions
- Behavioral 4 questions
- Project retrospective 7 questions
Stripe coding at other levels
- Senior 5 questions
- Staff 5 questions
- Senior staff 5 questions
Other companies at this level
- Airbnb Senior EM 4 questions
- Anthropic Senior EM 4 questions
- Apple Senior EM 4 questions
- Google Senior EM 14 questions
- LinkedIn Senior EM 4 questions
- Meta Senior EM 14 questions