Geico LeetCode Questions
18 questions all-time · 1 easy · 16 medium · 1 hard
| # | Problem | Difficulty | Frequency | Acceptance |
|---|---|---|---|---|
| 1 | Largest Palindromic Number Hash Table, String, Greedy, Counting | Medium | 100 | 0.4% |
| 2 | Maximum Number of Potholes That Can Be Fixed String, Greedy, Sorting | Medium | 100 | 0.5% |
| 3 | Cinema Seat Allocation Array, Hash Table, Greedy, Bit Manipulation | Medium | 91 | 0.4% |
| 4 | Number of Steps to Reduce a Number in Binary Representation to One String, Bit Manipulation, Simulation | Medium | 88 | 0.6% |
| 5 | Number of Spaces Cleaning Robot Cleaned Array, Matrix, Simulation | Medium | 80 | 0.6% |
| 6 | Minimum Number of Food Buckets to Feed the Hamsters String, Dynamic Programming, Greedy | Medium | 80 | 0.5% |
| 7 | Coin Change Array, Dynamic Programming, Breadth-First Search | Medium | 80 | 0.5% |
| 8 | Best Time to Buy and Sell Stock with Cooldown Array, Dynamic Programming | Medium | 80 | 0.6% |
| 9 | First Missing Positive Array, Hash Table | Hard | 68 | 0.4% |
| 10 | Path With Maximum Minimum Value Array, Binary Search, Depth-First Search, Breadth-First Search, Union-Find, Heap (Priority Queue), Matrix | Medium | 68 | 0.5% |
| 11 | Merge Intervals Array, Sorting | Medium | 68 | 0.5% |
| 12 | Valid Sudoku Array, Hash Table, Matrix | Medium | 59 | 0.6% |
| 13 | Longest Happy String String, Greedy, Heap (Priority Queue) | Medium | 59 | 0.7% |
| 14 | Minimum Moves to Spread Stones Over Grid Array, Dynamic Programming, Backtracking, Bit Manipulation, Matrix, Bitmask | Medium | 59 | 0.5% |
| 15 | Best Time to Buy and Sell Stock II Array, Dynamic Programming, Greedy | Medium | 59 | 0.7% |
| 16 | Remove All Adjacent Duplicates In String String, Stack | Easy | 59 | 0.7% |
| 17 | Integer to Roman Hash Table, Math, String | Medium | 59 | 0.7% |
| 18 | Remove All Occurrences of a Substring String, Stack, Simulation | Medium | 59 | 0.8% |
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.