Interview Prep/Companies/General Motors
GM

General Motors

8 questions tracked6 with solutions
🔍
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough

Showing 8 of 8 questions

1
MediumNumber of Connected Components in an Undirected Graph
100
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗64% acc.
2
HardFirst Missing Positive✓ Our Solution
64
ArrayHash Table
LeetCode ↗41% acc.
3
MediumMinimum Path Sum✓ Our Solution
64
ArrayDynamic ProgrammingMatrix
LeetCode ↗66% acc.
4
MediumLRU Cache✓ Our Solution
57
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
5
MediumThe Number of Full Rounds You Have Played✓ Our Solution
57
MathString
LeetCode ↗43% acc.
6
EasyLast Visited Integers✓ Our Solution
57
ArraySimulation
LeetCode ↗61% acc.
7
EasyWidest Vertical Area Between Two Points Containing No Points✓ Our Solution
57
ArraySorting
LeetCode ↗87% acc.
8
MediumDot Product of Two Sparse Vectors
57
ArrayHash TableTwo PointersDesign
LeetCode ↗90% acc.