McKinsey & Company interview question

Python, R and statistics questions, each 12