Technical prep

Pay for the premium version of interview prep websites like LeetCode. $30 a month subscription is totally worth it compared to the returns.

Data Science interviews test many technical skills depending on the role or the level.

  1. Algorithmic coding
  2. SQL
  3. Data Coding
  4. Causal Inference
  5. Statistics
  6. Machine Learning

Algorithmic Coding Prep

  1. This is probably the most important component for software engineering roles, but not so much for data scientists. If you are interested in roles like Research Scientist, Research Data Scientist, then this will become important.
  2. One mistake people do here is spend too much time worrying about this and too much time to get good at this.
  3. Most interviews for data scientist roles will go into Arrays, but not so much into advanced concepts like binary trees. So spend most time in Easy and Medium Array questions.
    1. Preparation:

    2. All array questions could be categorized into 6-7 building blocks (eg: Two sum problems, Binary Search problems, Reverse traversal problems). If you are comfortable with those building blocks, you could code any array question by relating it to a building block and modifying the boiler plate code of that building block. Same goes for other concepts. This is the best way to prepare.
    3. Best place to learn building blocks is
    4. Practice questions at Mostly go for easy and medium level array questions.
    5. A very good subset of coding questions


  1. You cannot afford to bomb SQL rounds. So do well here.
    1. Preparation:

    2. is the best place to brush up on SQL skills. Its concise and to the point
    3. seems like a great place to learn SQL.
    4. has good practice questions.
    5. My mode SQL notes
    6. MODE SQL Notes

Data Coding

  1. This round is about how you could manipulate data using pandas in python or similar libraries in R.
  2. The only way to prepare for this round is by practicing as much as you can. No amount of reading will help here.
  3. Practice EDA on many publicly available data sets (changing column types, treating missing values, feature selection, engineering, outliers) etc.
  4. Practice coding famous algorithms like K-Means, Linear Regression, Decision trees, etc., from scratch.
    1. Preparation:

    4. for titanic data and example EDA’s

Causal Inference

AB testing:

I cannot tell you how much instrumental this book was in all AB testing rounds I read this book page to page twice.


Prof. Charles Geyer (UMN Statistics) has the best slides on Intermediate Theory of Statistics I, II.


  1. One type of interview question is a case study where you would be given a use case and you need to walk them through what data you would need, what target variable you would choose, modeling procedure, evaluation metrics.
  2. The best way to prepare for this would be to do some mock interviews.
  3. Another type of question would ne just asking ML fundamentals like what is the difference between Lasso and Ridge regression and slowly going on from there by asking more and more questions.
  4. In general you need to be familiar with how most ML models work and what are the advantages and disadvantages. This applies to all ML concepts.
    1. Preparation:

    2. Some good cheat sheets:
    3. Chris Albon’s flash cards are very useful:
    4. Other online source:

Best way to reach me is via Twitter or LinkedIn DM’s