- Interview Questions
- /
- General Motors
General Motors LeetCode Interview Questions
Practice 45 real coding problems frequently asked in General Motors technical interviews. Master these questions to ace your next General Motors software engineering interview.
Top Topics at General Motors
Ace your General Motors interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
General Motors Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Add Two Integers 100% | EasyE | Solve→ |
Maximum Matrix Sum 96% | MediumM | Solve→ |
Buildings With an Ocean View 95% | MediumM | Solve→ |
Minimum Window Substring 92% | HardH | Solve→ |
Jump Game II 87% | MediumM | Solve→ |
Word Ladder 84% | HardH | Solve→ |
Find Leaves of Binary Tree 83% | MediumM | Solve→ |
Convert Sorted List to Binary Search Tree 82% | MediumM | Solve→ |
Maximum Sum Circular Subarray 80% | MediumM | Solve→ |
Best Time to Buy and Sell Stock IV 78% | HardH | Solve→ |
Flood Fill 76% | EasyE | Solve→ |
Maximum Nesting Depth of the Parentheses 75% | EasyE | Solve→ |
Longest Subarray of 1's After Deleting One Element 72% | MediumM | Solve→ |
Search in Rotated Sorted Array 71% | MediumM | Solve→ |
Unique Paths II 69% | MediumM | Solve→ |
Longest Palindromic Substring 68% | MediumM | Solve→ |
Line Reflection 68% | MediumM | Solve→ |
Binary Tree Right Side View 66% | MediumM | Solve→ |
Minimum Add to Make Parentheses Valid 61% | MediumM | Solve→ |
Search Suggestions System 57% | MediumM | Solve→ |
N-Queens 57% | HardH | Solve→ |
Gas Station 56% | MediumM | Solve→ |
Subarray Sum Equals K 54% | MediumM | Solve→ |
Valid Anagram 53% | EasyE | Solve→ |
Move Zeroes 49% | EasyE | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Check Completeness of a Binary Tree 49% | MediumM | Solve→ |
Minimum Difference in Sums After Removal of Elements 48% | HardH | Solve→ |
Number of Islands II 48% | HardH | Solve→ |
First Missing Positive 47% | HardH | Solve→ |
Ransom Note 43% | EasyE | Solve→ |
Daily Temperatures 42% | MediumM | Solve→ |
K Inverse Pairs Array 41% | HardH | Solve→ |
Longest Arithmetic Subsequence of Given Difference 40% | MediumM | Solve→ |
Maximum Area Rectangle With Point Constraints I 38% | MediumM | Solve→ |
Longest Common Prefix 38% | EasyE | Solve→ |
Create Hello World Function 35% | EasyE | Solve→ |
Permutation in String 33% | MediumM | Solve→ |
Check If N and Its Double Exist 29% | EasyE | Solve→ |
Largest Number 29% | MediumM | Solve→ |
Boundary of Binary Tree 29% | MediumM | Solve→ |
Trapping Rain Water 29% | HardH | Solve→ |
Pow(x, n) 24% | MediumM | Solve→ |
Analyze User Website Visit Pattern 24% | MediumM | Solve→ |
Integer to Roman 23% | MediumM | Solve→ |
Copy List with Random Pointer 21% | MediumM | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does General Motors ask in interviews?
General Motors commonly asks 45 coding problems in technical interviews, including Add Two Integers, Maximum Matrix Sum, Buildings With an Ocean View. The difficulty breakdown is 9 Easy, 27 Medium, and 9 Hard problems.
How should I prepare for a General Motors coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. General Motors interviews typically emphasize Array and Hash Table. Practice explaining your thought process while coding.
What is the difficulty level of General Motors coding interviews?
Based on our data, General Motors interviews include 9 Easy (20%), 27 Medium (60%), and 9 Hard (20%) problems.
Ready to ace your General Motors interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required