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
2
HardFirst Missing Positiveβœ“ Our Solution
64
ArrayHash Table
3
MediumMinimum Path Sumβœ“ Our Solution
64
ArrayDynamic ProgrammingMatrix
4
MediumLRU Cacheβœ“ Our Solution
57
Hash TableLinked ListDesignDoubly-Linked List
5
MediumThe Number of Full Rounds You Have Playedβœ“ Our Solution
57
MathString
6
EasyLast Visited Integersβœ“ Our Solution
57
ArraySimulation
7
EasyWidest Vertical Area Between Two Points Containing No Pointsβœ“ Our Solution
57
ArraySorting
8
MediumDot Product of Two Sparse Vectors
57
ArrayHash TableTwo PointersDesign