Robinhood SDE Interview Question 2023 January | DP & Binary Search | On-campus

Question · Posted Jun 2026

Question 1: Russian Doll Envelopes Problem Statement You are given a 2D array of integers envelopes where envelopes[i] = [width_i, height_i] represents the width and the height of an envelope. One envelope can fit into another if and only if both the width and height of one envelope are strictly greater than the other envelope's width and height. Return the maximum number of envelopes you can Russian doll (i.e., put one inside the other). Constraints 1 <= envelopes.length <= 105 ...

The full answer & interview discussion are available to premium members.

Log in Create a free account