General Motors LeetCode Questions
11 questions all-time · 1 easy · 6 medium · 4 hard
Track your progress. Sign in free to tick off problems and save what you've solved across every company.
| # | Problem | Difficulty | Frequency | Acceptance | |
|---|---|---|---|---|---|
| 1 | Number of Connected Components in an Undirected Graph | Medium | 100 | 0.7% | |
| 2 | Number of Steps to Reduce a Number in Binary Representation to One | Medium | 69 | 0.6% | |
| 3 | Implement Trie (Prefix Tree) | Medium | 65 | 0.7% | |
| 4 | Minimum Path Sum | Medium | 59 | 0.7% | |
| 5 | Dot Product of Two Sparse Vectors | Medium | 59 | 0.9% | |
| 6 | Maximum Sum of 3 Non-Overlapping Subarrays | Hard | 59 | 0.6% | |
| 7 | LRU Cache | Medium | 52 | 0.5% | |
| 8 | First Missing Positive | Hard | 52 | 0.4% | |
| 9 | Widest Vertical Area Between Two Points Containing No Points | Easy | 52 | 0.9% | |
| 10 | Serialize and Deserialize Binary Tree | Hard | 52 | 0.6% | |
| 11 | Guess the Word | Hard | 52 | 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.