Top 33
Prep plan
Updated weekly · Last refresh Oct 17

McKinsey & Software Engineer Interview Questions

The questions to prepare for a McKinsey & Software Engineer interview. Questions from real interview reports rank first. Updated daily.

33questions
~5htotal time
Track your progressSign up free to work through all 33 questions and resume where you left off.
Start practicing free →
1
CodingStart here. 3 questions · ~29 min
Deep Clone Nested StructuresHard
Practice

Implement deep cloning for nested arrays and objects using recursion and cycle detection.

RecursionjavaabstractionMcKinsey &
Maximum Sum Contiguous SubarrayEasy
Practice

Use Kadane's algorithm to find the contiguous subarray with the largest sum in linear time.

Dynamic ProgrammingArraysGreedyMcKinsey &
More Coding questions with a free account
2
SQL & Data Manipulation4 questions + 1 drill · ~49 min
Average Feedback Score by OfficeEasy
Practice

Use GROUP BY and AVG to calculate average feedback scores by office, excluding NULL scores.

Group ByHavingAggregationsMcKinsey &
Top Departments by Average SalaryMedium
Practice

Use JOIN, GROUP BY, and HAVING to find the top three departments by average salary with at least five employees.

Group ByHavingAggregationsMcKinsey &
Optimizing Complex SQL JoinsHard
Practice
Practice drill

Build an efficient PostgreSQL report that aggregates partitioned project events and costs without join multiplication.

database optimizationJoinsperformanceMcKinsey &
More SQL & Data Manipulation questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
3
Execution6 questions · ~59 min
Manage Risk on Engineering ProjectsMedium

Assess and mitigate delivery risk on an engineering project with competing stakeholders and a fixed launch window.

Trade-offsSuccess CriteriaRisk AssessmentMcKinsey &
More Execution questions with a free account
4
Behavioral & Leadership15 questions · ~147 min
More Behavioral & Leadership questions with a free account
5
More topics5 questions · ~49 min
Design High-Throughput Event PipelineHard

Design a real-time event pipeline that can handle millions of events per second with sub-second latency.

data pipelineevent processinglatencyMcKinsey &
Secure Microservices ArchitectureHard

Examines system design decisions for security, reliability, and domain scope in fintech context.

SecuritymicroservicesMcKinsey &
React Memory Leak DebuggingMedium

Tests debugging approach and performance reasoning for modern React applications.

reactDebuggingtechnical experienceMcKinsey &
More questions with a free account
The finish line: interview-readyComplete all 33 questions plus 1 hands-on drill to finish this plan.