McKinsey Interview Questions

McKinsey Interview Guides

Click or hover over a slice to explore questions for that topic.
Machine Learning
(41)
Data Structures & Algorithms
(35)
SQL
(20)
Probability
(17)
Statistics
(13)

McKinsey Interview Questions

Practice for the McKinsey interview with these recently asked interview questions.

QuestionTopicDifficulty
SQL
Medium

Over budget on a project is defined when the salaries, prorated to the day, exceed the budget of the project.

For example, if Alice and Bob both combined income make 200K and work on a project of a budget of 50K that takes half a year, then the project is over budget given 0.5 * 200K = 100K > 50K.

Write a query to forecast the budget for all projects and return a label of "overbudget" if it is over budget and "within budget" otherwise.

Note: Assume that employees only work on one project at a time.

Example:

Input:

employees table

Column Type
id INTEGER
first_name VARCHAR
last_name VARCHAR
salary INTEGER
department_id INTEGER

projects table

Column Type
id INTEGER
title VARCHAR
state_date DATETIME
end_date DATETIME
budget INTEGER

departments table

Column Type
id INTEGER
name VARCHAR

employee_projects table

Column Type
project_id INTEGER
employee_id INTEGER

Output:

Column Type
title VARCHAR
project_forecast VARCHAR
Statistics
Easy
Data Structures & Algorithms
Easy
Loading pricing options

View all Mckinsey & Company questions

Challenge

Check your skills...
How prepared are you for working at Mckinsey & Company?

McKinsey Salaries by Position

$115K
$243K
Software Engineer
Median: $206K
Mean (Average): $196K
Data points: 212
$155K
$232K
Product Manager
Median: $200K
Mean (Average): $194K
Data points: 10
$85K
$200K
Data Scientist
Median: $134K
Mean (Average): $138K
Data points: 62
$93K
$175K
Data Engineer
Median: $110K
Mean (Average): $118K
Data points: 21
$85K
$175K
Business Analyst
Median: $85K
Mean (Average): $106K
Data points: 173
$66K
$122K
Data Analyst
Median: $90K
Mean (Average): $93K
Data points: 77

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the Software Engineer role pays the most with a $195,673 base salary while the Data Analyst role on average pays the least with a $92,851 base salary.

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.