Interactive LeetCode Problems: All 21,
With Python Solutions
Every problem in this library that LeetCode tags Interactive. 4 of them carry a complete Python solution, a worked example and the time and space complexity of the approach.
- Easy
- 4
- Medium
- 12
- Hard
- 5
Interactive problems by difficulty
Problems with a complete Python solution are listed first, then by ascending problem number.
Easy (4)
| No. | Problem | Topics |
|---|---|---|
| 0278 | First Bad Version | |
| 0374 | Guess Number Higher or Lower | |
| 0157 | Read N Characters Given Read4Premium | |
| 2728 | Count Houses in a Circular StreetPremium |
Medium (12)
| No. | Problem | Topics |
|---|---|---|
| 1237 | Find Positive Integer Solution for a Given Equation | |
| 0277 | Find the CelebrityPremium | |
| 0702 | Search in a Sorted Array of Unknown SizePremium | |
| 1236 | Web CrawlerPremium | |
| 1428 | Leftmost Column with at Least a OnePremium | |
| 1533 | Find the Index of the Large IntegerPremium | |
| 1538 | Guess the Majority in a Hidden ArrayPremium | |
| 1618 | Maximum Font to Fit a Sentence in a ScreenPremium | |
| 1778 | Shortest Path in a Hidden GridPremium | |
| 1810 | Minimum Path Cost in a Hidden GridPremium | |
| 2782 | Number of Unique CategoriesPremium | |
| 2936 | Number of Equal Numbers BlocksPremium |
Hard (5)
| No. | Problem | Topics |
|---|---|---|
| 1095 | Find in Mountain Array | |
| 0158 | Read N Characters Given read4 II - Call Multiple TimesPremium | |
| 0489 | Robot Room CleanerPremium | |
| 0843 | Guess the Word | |
| 1274 | Number of Ships in a RectanglePremium |
Eyes only
When the Interactive problem arrives live.
In the live round, Stealth Interview reads the problem off your screen, returns a working solution with a step-by-step explanation and its time and space complexity, and transcribes what the interviewer says. It's a desktop app for macOS and Windows, invisible to screen sharing.
Keep exploring
Other topics
- Array1,569
- String672
- Hash Table588
- Math485
- Dynamic Programming481
- Sorting392
- Greedy346
- Depth-First Search289
- Binary Search253
- Database249
- Tree225
- Breadth-First Search223
- Matrix216
- Two Pointers201
- Bit Manipulation194
- Binary Tree174
- Heap (Priority Queue)163
- Prefix Sum157
- Stack157
- Simulation144
- Graph138
- Counting126
- Design122
- Sliding Window116