YourAlly

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

  1. Binary Tree Level Order Traversal Locked
  2. Group Anagrams Locked
  3. Product of Array Except Self Locked
  4. Two Sum Locked

Sign up free to practice all 5

Related pages

More Stripe Senior EM rounds

Stripe coding at other levels

Other companies at this level

Company guide

Stripe interview guide in Academy