Mckinsey Coding Interview Questions
We track 2 coding questions asked at Mckinsey, tagged with the algorithms and concepts they test. The most common: Array, Breadth-First Search, Depth-First Search, Greedy, Heap (Priority Queue).
Browse all 2 Mckinsey questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- Array29.2%
- Greedy16.7%
- Heap (Priority Queue)16.7%
- Breadth-First Search12.5%
- Depth-First Search12.5%
- Matrix12.5%
How many questions involve each concept
Share of all 2 tracked Mckinsey questions that touch each concept. Questions usually involve several, so these overlap.
- Array100.0%
- Breadth-First Search50.0%
- Depth-First Search50.0%
- Greedy50.0%
- Heap (Priority Queue)50.0%
- Matrix50.0%
Where Mckinsey differs from the average company
Concept weight at Mckinsey relative to the average across all companies we track. Green means Mckinsey leans on it harder than most.
- Array1.5×
Difficulty mix
Level split of the 2 tracked Mckinsey questions.
- Mid/Senior100% (2)
Every concept in Mckinsey interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Array | 2 | 100.0% | 29.2% |
| Breadth-First Search | 1 | 50.0% | 12.5% |
| Depth-First Search | 1 | 50.0% | 12.5% |
| Greedy | 1 | 50.0% | 16.7% |
| Heap (Priority Queue) | 1 | 50.0% | 16.7% |
| Matrix | 1 | 50.0% | 12.5% |
Practice a Mckinsey interview
Take a realistic AI-led mock interview with questions Mckinsey actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required