YourAlly

Stripe Senior coding interview questions

These are the 5 coding questions YourAlly has tagged for Stripe at Senior. On the YourAlly ladder this is Senior, the same level as Google L5, Meta E5 and Amazon L6.

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 the bar is a correct, tested solution you reach mostly on your own, with the trade-offs said out loud.

Practice a mock Stripe Senior coding loopPractice Stripe coding questions

Binary Tree Level Order TraversalFree to read

Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to right, level by level).

Example 1: Input: root = [3,9,20,null,null,15,7] Output: [[3],[9,20],[15,7]]

Example 2: Input: root = [] Output: []

Constraints: 0 <= number of nodes <= 200000 -1000 <= Node.val <= 1000

4 more coding questions

  1. Group Anagrams Locked
  2. Product of Array Except Self Locked
  3. Top K Frequent Elements Locked
  4. Two Sum Locked

Sign up free to practice all 5

Related pages

More Stripe Senior rounds

Stripe coding at other levels

Other companies at this level

Company guide

Stripe interview guide in Academy