Question bank

4,310 interview questions, answered.

Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.

Easy 3Medium 27Hard 13
Filters · onDifficulty, topic, company

43 questions

  1. 25Explain the differences between linear and logistic regression.MediumTechnicalAI ML· Amazon, Google
  2. 26How do you select the value of 'k' in the k-means algorithm?MediumTechnicalAI ML· Microsoft
  3. 27Design an ETA System for a Maps App.HardAI MLSystem design
  4. 28Design an Instagram Ranking ModelHardAI MLSystem design
  5. 29Design an ML monitoring system for a fantasy sports app, focusing on drift, performance, outliers, and quality.HardAI MLSystem design
  6. 30Design a Spotify Recommendation System.HardAI MLSystem design
  7. 31How would you handle an exploding gradient, given a neural network?MediumTechnicalAI ML
  8. 32Implement K-Means ClusteringEasyCodingAI ML
  9. 33Is the Mean Squared Error (MSE) a suitable cost function for a logistic regression model?MediumTechnicalAI ML
  10. 34Describe how random forests work and explain what an ensemble method is.MediumTechnicalAI ML
  11. 35Find Statistical Evidence for Conversion RateMediumCodingAI ML
  12. 36What are the advantages and limitations of linear regression?EasyTechnicalAI ML
  13. 37Which is more likely to result in overfitting a model? More training data, decreased nodes in neural network hidden layers, eliminating sparse features, or using a Gaussian or RBF kernel in SVM?MediumTechnicalAI ML
  14. 38Implement a 2D Convolutional FilterMediumAI ML
  15. 39In K-Nearest Neighbors (KNN), does setting k=1 lead to higher variance or higher bias?MediumTechnicalAI ML
  16. 40How do you ensure a deployed model remains up to date?MediumAI MLSystem design
  17. 41Predict User App DeletionHardCodingAI ML
  18. 42What is the significance of an area under the curve (AUC) equal to 0.5?MediumTechnicalAI ML
  19. 43Describe how the split in a decision tree works.MediumTechnicalAI ML