McKinsey & Company interview experience Real time questions & tips from candidates to crack your interview

Data Science Intern

McKinsey & Company
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Python, R, Statistics, Numpy, Pandas, Scikit-Learn, Regression, Clustering, Classification, Supervised & Unsupervised Learning
Tip
Tip

Tip 1 : Have in-depth knowledge of data-frame manipulation using Pandas
Tip 2 : Learn all NumPy array methods 
Tip 3 : Good working knowledge about Scikit Learn

Application process
Where: Other
Eligibility: Degree in economics, mathematics, statistics, physics, or a related field. Final and Pre-Final Year eligible, Above 8 CGPA
Resume Tip
Resume tip

Tip 1 : Have 2-3 good projects on Machine Learning or Data Science preferably in Python.
Tip 2 : List only those skills which you are good at.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date14 Dec 2020
Coding problem1

The test is divided into 3 sections:
1. R coding.
2. Python coding. This section includes NumPy and scikit questions.
3. Statistics. This section includes T-tests, Anova regression distributions, and chi-square.
Each section has roughly 12 questions. The number of questions and difficulty is not set in advance, the test is adaptive. The more correct answers you give, the more the questions get tougher. The qualification does not depend upon the number of questions solved, rather on the difficulty level you can achive.

1. Complete the Code

Complete the function to find the value in a specified categorical column with the highest average of a specified numeric column.

import pandas as pddef category_avg(df, cat_column, num_column):   

 #### write code here    solution = None    

return solutiontest_case = category_avg(price_df, 'city','price')

02
Round
Hard
Face to Face
Duration60 Minutes
Interview date26 Dec 2020
Coding problem1

1. Rotate matrix by 90 degrees

Easy
15m average time
85% success
0/40
Asked in companies
SamsungAdobeMicrosoft

You are given a square matrix of non-negative integers 'MATRIX'. Your task is to rotate that array by 90 degrees in an anti-clockwise direction using constant extra space.

For example:

For given 2D array :

    [    [ 1,  2,  3 ],
         [ 4,  5,  6 ],
         [ 7,  8,  9 ]  ]

After 90 degree rotation in anti clockwise direction, it will become:

    [   [ 3,  6,  9 ],
        [ 2,  5,  8 ],
        [ 1,  4,  7 ]   ]
Try solving now
03
Round
Medium
HR Round
Duration30 Minutes
Interview date30 Dec 2020
Coding problem1

1. Basic HR Questions

How was your interview experience so far?
Why do you want to join us?
Are you a leader or a follower?

Problem approach

Do research about the role & company beforehand and map your answers around that.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4898 views
0 comments
0 upvotes
Software Engineer
2 rounds | 6 problems
Interviewed by McKinsey & Company
1245 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6638 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3639 views
0 comments
0 upvotes