grindmapcompany-wise LeetCode
All companies

OpenAI LeetCode Questions

17 questions all-time · 1 easy · 14 medium · 2 hard
# Problem Difficulty Frequency Acceptance
1Design SQL
Array, Hash Table, String, Design
Medium
100
0.6%
2Design Memory Allocator
Array, Hash Table, Design, Simulation
Medium
91
0.5%
3Encode and Decode Strings
Array, String, Design
Medium
89
0.5%
4Flatten Nested List Iterator
Stack, Tree, Depth-First Search, Design, Queue, Iterator
Medium
86
0.7%
5Time Based Key-Value Store
Hash Table, String, Binary Search, Design
Medium
79
0.5%
6IP to CIDR
String, Bit Manipulation
Medium
79
0.5%
7Rotting Oranges
Array, Breadth-First Search, Matrix
Medium
76
0.6%
8Design Excel Sum Formula
Array, Hash Table, String, Graph Theory, Design, Topological Sort, Matrix
Hard
69
0.4%
9Simplify Path
String, Stack
Medium
65
0.5%
10Web Crawler Multithreaded
Depth-First Search, Breadth-First Search, Concurrency
Medium
50
0.5%
11Largest Local Values in a Matrix
Array, Matrix
Easy
50
0.9%
12Asteroid Collision
Array, Stack, Simulation
Medium
50
0.5%
13Trapping Rain Water
Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack
Hard
50
0.7%
14Design Spreadsheet
Array, Hash Table, String, Design, Matrix
Medium
50
0.7%
15Design Hit Counter
Array, Binary Search, Design, Queue, Data Stream
Medium
50
0.7%
16Design Authentication Manager
Hash Table, Linked List, Design, Doubly-Linked List
Medium
50
0.6%
17Snapshot Array
Array, Hash Table, Binary Search, Design
Medium
50
0.4%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.