back to home

khangich / machine-learning-interview

Machine Learning Interviews from FAANG, Snapchat, LinkedIn. I have offers from Snapchat, Coupang, Stitchfix etc. Blog: mlengineer.io.

12,403 stars
1,998 forks
5 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing khangich/machine-learning-interview in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/khangich/machine-learning-interview)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

Minimum Viable Study Plan for Machine Learning Interviews

<p align="center"> Machine Learning System Design - Early Preview - <a href ="https://rebrand.ly/mldesignbook"> Buy on Amazon </a><br> <a href="https://rebrand.ly/mldesignbook"> <img src="https://miro.medium.com/max/1400/1*Te6wgTLFw9AD6r9D6sVNMg.png" alt="Machine Learning System Design Interview" width="400" height="300"> </a> </p> <p align="center"> Machine Learning interviews book on Amazon.<br> <a href="https://www.amazon.com/dp/B09S9JBT86"> <img src="https://miro.medium.com/max/700/1*e3TitgWHyr6bO_bOWtP4Rg.png" alt="Machine Learning Interviews book on Amazon" width="400" height="300"> </a> </p>

Follow News about AI projects

Machine Learning Design

Section
1. Youtube Recommendation<a href="https://rebrand.ly/mldesign"> <img src="images/uc3.png" alt="Youtube Recommendation Design" width="100" height="100"> </a>
2. The main components in MLSD<a href="https://rebrand.ly/mldesign"> <img src="images/ml.png" alt="The main components in MLSD" width="100" height="100"> </a>
3. LinkedIn Feed Ranking<a href="https://rebrand.ly/mldesign"> <img src="images/feed.png" alt="LinkedIn Feed Ranking" width="100" height="100"> </a>
4. Ad Click Prediction<a href="https://rebrand.ly/mldesign"> <img src="images/ads.png" alt="Ad Click Prediction" width="100" height="100"> </a>
5. Estimate Delivery time<a href="https://rebrand.ly/mldesign"> <img src="images/delivery.png" alt="Estimate Delivery time" width="100" height="100"> </a>
6. Airbnb Search ranking<a href="https://rebrand.ly/mldesign"> <img src="images/air.png" alt="Airbnb Search ranking" width="100" height="100"> </a>

Getting Started

How toResources
List of promising companiesWealthFront 2021 list.
Prepare for interviewCommon questions about Machine Learning Interview process.
Study guideStudy guide contained minimum set of focus area to aces your interview.
Design ML systemML system design includes actual ML system design usecases.
ML usecasesML usecases from top companies
Test your ML knowledgeMachine Learning quiz are designed based on actual interview questions from dozen of big companies.
One week before onsite interviewRead one week check list
How to get offer?Read success stories
FAANG companies actual MLE interviewsRead interview stories
Practice codingLeetcode questions by categories for MLE
Advance topicsRead advance topics

Study guide

LeetCode (not all companies ask Leetcode questions)

<img src="images/LC.png">

  • NOTE: there are a lot of companies that do NOT ask leetcode questions. There are many paths to become an MLE, you can create your own path if you feel like leetcoding is a waste of time.

  • I use LC time tracking to keep track of how many times I solves a question and how long I spent each time. Once I finish non-trivial medium LC questions 3 times, I have absolutely no issues solving them in actual interviews (sometimes within 8-10 minutes). It makes a big difference. A better way is to use LeetPlug chrome extension here

Leetcode questions by categories

SQL

Programming

Statistics and probability

  • The only cheatsheet that you''ll ever need

<img src="images/stat_cheatsheet.png">

  • Learn Bayesian and practice problems in Bayesian
  • Let A and B be events on the same sample space, with P (A) = 0.6 and P (B) = 0.7. Can these two events be disjoint?
  • Given that Alice has 2 kids, at least one of which is a girl, what is the probability that both kids are girls? (credit swierdo)
  • A group of 60 students is randomly split into 3 classes of equal size. All partitions are equally likely. Jack and Jill are two students belonging to that group. What is the probability that Jack and Jill will end up in the same class?
  • Given an unfair coin with the probability of heads not equal to .5. What algorithm could you use to create a list of random 1s and 0s.

Big data (NOT required for Google, Facebook interview)

ML fundamentals

AB testing

DL fundamentals

ML system design

ML classic paper

ML productions

Food delivery

ML design common usecases

Fraud detection (TBD)

Adtech

Recommendations:

Testimonials

  • V, Amazon L5 DS

I really found the quizzes very helpful for testing my ML understanding. Also, the resources shared helped me a lot for revising concepts for my interview preparation. This course will definitely help engineers crack Machine Learning Engineering and Data Science interviews.

  • K, Facebook MLE

I really like what you've built, it'll help a lot of engineers.

  • D, NVIDIA DS

I have been using your github repo to prep for my interviews and got an offer with NVIDIA with their data science team. Thanks again for your help!

  • A, Booking

Woow this is very useful summaries, so nice.

  • H, Microsoft

That's incredible!

  • V, Intel

The repo is extremely cohesive! Thanks again.

Intro

  • This repo is written based on REAL interview questions from big companies and the study materials are based on legit experts i.e Andrew Ng, Yoshua Bengio etc.

  • I have 6 YOE in Machine Learning and have interviewed more than dozen big companies. This is the minimum viable study plan that covers all actual interview questions from Facebook, Amazon, Apple, Google, MS, SnapChat, Linkedin etc.

  • If you're interested to learn more about paid ML system design course, click here. This course will provide 6-7 practical usecases with proven solutions. After this course you will be able to solve new problem with systematic approach.

Acknowledgements and contributing

  1. Thanks for early feedbacks and contributions from Vivian, aragorn87 and others. You can create an Issue or Pull Request on this repo. You can also help upvote on ProductHunt

  2. If you find this helpful, you can Sponsor this project. It's cool if you don't.

  3. Thanks to this community, we have donated about $200 to HopeForPaws. If you want to support, you can contribute too on their website.