QUESTIONS BY COMPANY

General Motors LeetCode Questions 2026

Browse LeetCode problems frequently asked by General Motors. Filter by difficulty and timeframe to focus your interview prep.

Last updated: 20 Feb 2026

ProblemDifficultyFrequencyTopics
Number of Connected Components in an Undirected GraphMEDIUM
100%
Depth-First SearchBreadth-First SearchUnion-FindGraph Theory
LRU CacheMEDIUM
50%
Hash TableLinked ListDesignDoubly-Linked List
First Missing PositiveHARD
50%
ArrayHash Table
Minimum Path SumMEDIUM
62.5%
ArrayDynamic ProgrammingMatrix
Widest Vertical Area Between Two Points Containing No PointsEASY
50%
ArraySorting
Dot Product of Two Sparse VectorsMEDIUM
62.5%
ArrayHash TableTwo PointersDesign
Implement Trie (Prefix Tree)MEDIUM
62.5%
Hash TableStringDesignTrie
Number of Steps to Reduce a Number in Binary Representation to OneMEDIUM
62.5%
StringBit ManipulationSimulation
Serialize and Deserialize Binary TreeHARD
50%
StringTreeDepth-First SearchBreadth-First SearchDesignBinary Tree
Maximum Sum of 3 Non-Overlapping SubarraysHARD
50%
ArrayDynamic ProgrammingSliding WindowPrefix Sum

Need Help Solving These Problems?

CodingInterviewAI can instantly identify algorithms and generate optimal solutions for any LeetCode problem. Get step-by-step explanations and ace your next technical interview.

CodingInterviewAI logo

© 2026 CodingInterviewAI. All rights reserved

CodingInterviewAI

HomeBlogGive Feedback