General Motors LeetCode Interview Questions
General Motors has asked 11 distinct LeetCode questions across all recorded interviews: 1 easy, 6 medium and 4 hard. The questions reported most often are Number of Connected Components in an Undirected Graph, Number of Steps to Reduce a Number in Binary Representation to One and Implement Trie (Prefix Tree). 2 of them were reported in interviews from the Last 6 Months 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 | |
|---|---|---|---|---|---|
| 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% |
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 General Motors, 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 General Motors'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 General Motors. Click any question to open it on LeetCode.