grindmapcompany-wise LeetCode
All companies

OpenAI LeetCode Interview Questions

17 questions all-time · 1 easy · 14 medium · 2 hard

OpenAI has asked 17 distinct LeetCode questions across all recorded interviews: 1 easy, 14 medium and 2 hard. The questions reported most often are Design SQL, Design Memory Allocator and Encode and Decode Strings. 1 of them was reported in interviews from the Last 30 Days window. Every question links straight to LeetCode, and the list can be filtered by difficulty and topic or sorted by how often the question comes up.

# Problem Difficulty Frequency Acceptance
1Design SQL
Medium
100
0.6%
2Design Memory Allocator
Medium
91
0.5%
3Encode and Decode Strings
Medium
89
0.5%
4Flatten Nested List Iterator
Medium
86
0.7%
5Time Based Key-Value Store
Medium
79
0.5%
6IP to CIDR
Medium
79
0.5%
7Rotting Oranges
Medium
76
0.6%
8Design Excel Sum Formula
Hard
69
0.4%
9Simplify Path
Medium
65
0.5%
10Web Crawler Multithreaded
Medium
50
0.5%
11Largest Local Values in a Matrix
Easy
50
0.9%
12Asteroid Collision
Medium
50
0.5%
13Trapping Rain Water
Hard
50
0.7%
14Design Spreadsheet
Medium
50
0.7%
15Design Hit Counter
Medium
50
0.7%
16Design Authentication Manager
Medium
50
0.6%
17Snapshot Array
Medium
50
0.4%

Where this data comes from

These questions come from the public leetcode-company-wise-problems data set, which collects interview reports from candidates. They are community-reported rather than published by OpenAI, so treat the list as a strong signal of what gets asked, not an official or exhaustive syllabus. Last refreshed .

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. It is a relative popularity signal within OpenAI's questions, not a probability that you will be asked it. Acceptance is LeetCode's own share of submissions that pass for that problem, across all users, not something specific to OpenAI. Click any question to open it on LeetCode.

Similar companies