Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. 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.

9 Easy
27 Medium
9 Hard

Top Topics at General Motors

ArrayHash TableStringDynamic ProgrammingSorting

Ace your General Motors interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

General Motors Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Add Two Integers
100%
EasyE
100%
Math
Solve→
Maximum Matrix Sum
96%
MediumM
96%
ArrayGreedy+1
Solve→
Buildings With an Ocean View
95%
MediumM
95%
ArrayStack+1
Solve→
Minimum Window Substring
92%
HardH
92%
Hash TableString+1
Solve→
Jump Game II
87%
MediumM
87%
ArrayDynamic Programming+1
Solve→
Word Ladder
84%
HardH
84%
Hash TableString+1
Solve→
Find Leaves of Binary Tree
83%
MediumM
83%
TreeDepth-First Search+1
Solve→
Convert Sorted List to Binary Search Tree
82%
MediumM
82%
Linked ListDivide and Conquer+3
Solve→
Maximum Sum Circular Subarray
80%
MediumM
80%
ArrayDivide and Conquer+3
Solve→
Best Time to Buy and Sell Stock IV
78%
HardH
78%
ArrayDynamic Programming
Solve→
Flood Fill
76%
EasyE
76%
ArrayDepth-First Search+2
Solve→
Maximum Nesting Depth of the Parentheses
75%
EasyE
75%
StringStack
Solve→
Longest Subarray of 1's After Deleting One Element
72%
MediumM
72%
ArrayDynamic Programming+1
Solve→
Search in Rotated Sorted Array
71%
MediumM
71%
ArrayBinary Search
Solve→
Unique Paths II
69%
MediumM
69%
ArrayDynamic Programming+1
Solve→
Longest Palindromic Substring
68%
MediumM
68%
Two PointersString+1
Solve→
Line Reflection
68%
MediumM
68%
ArrayHash Table+1
Solve→
Binary Tree Right Side View
66%
MediumM
66%
TreeDepth-First Search+2
Solve→
Minimum Add to Make Parentheses Valid
61%
MediumM
61%
StringStack+1
Solve→
Search Suggestions System
57%
MediumM
57%
ArrayString+4
Solve→
N-Queens
57%
HardH
57%
ArrayBacktracking
Solve→
Gas Station
56%
MediumM
56%
ArrayGreedy
Solve→
Subarray Sum Equals K
54%
MediumM
54%
ArrayHash Table+1
Solve→
Valid Anagram
53%
EasyE
53%
Hash TableString+1
Solve→
Move Zeroes
49%
EasyE
49%
ArrayTwo Pointers
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Check Completeness of a Binary Tree
49%
MediumM
49%
TreeBreadth-First Search+1
Solve→
Minimum Difference in Sums After Removal of Elements
48%
HardH
48%
ArrayDynamic Programming+1
Solve→
Number of Islands II
48%
HardH
48%
ArrayHash Table+1
Solve→
First Missing Positive
47%
HardH
47%
ArrayHash Table
Solve→
Ransom Note
43%
EasyE
43%
Hash TableString+1
Solve→
Daily Temperatures
42%
MediumM
42%
ArrayStack+1
Solve→
K Inverse Pairs Array
41%
HardH
41%
Dynamic Programming
Solve→
Longest Arithmetic Subsequence of Given Difference
40%
MediumM
40%
ArrayHash Table+1
Solve→
Maximum Area Rectangle With Point Constraints I
38%
MediumM
38%
ArrayMath+5
Solve→
Longest Common Prefix
38%
EasyE
38%
StringTrie
Solve→
Create Hello World Function
35%
EasyE
35%
Solve→
Permutation in String
33%
MediumM
33%
Hash TableTwo Pointers+2
Solve→
Check If N and Its Double Exist
29%
EasyE
29%
ArrayHash Table+3
Solve→
Largest Number
29%
MediumM
29%
ArrayString+2
Solve→
Boundary of Binary Tree
29%
MediumM
29%
TreeDepth-First Search+1
Solve→
Trapping Rain Water
29%
HardH
29%
ArrayTwo Pointers+3
Solve→
Pow(x, n)
24%
MediumM
24%
MathRecursion
Solve→
Analyze User Website Visit Pattern
24%
MediumM
24%
ArrayHash Table+1
Solve→
Integer to Roman
23%
MediumM
23%
Hash TableMath+1
Solve→
Copy List with Random Pointer
21%
MediumM
21%
Hash TableLinked List
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

8451˚
45 problems
Amrock
45 problems
Appian
45 problems
Appier
45 problems
Corelight
45 problems
Deezer
45 problems

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 Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.