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
27 questions
- 1Longest Increasing SubsequenceMediumCodingAI ML·
Atlassian, Meta - 2What's the effect of adjusting an LLM's context window size?MediumAI MLTechnical·
OpenAI - 3Define hallucinations in LLMs.MediumAI MLTechnical·
Anthropic, Mastercard - 4Design an evaluation framework for ads ranking.MediumAI MLProduct·
Meta - 5What metrics would you track to evaluate the performance of your ML pipeline?MediumAI MLSystem design· PAPerplexity AI
- 6How is gradient descent and model optimization used in linear regression?MediumTechnicalAI ML·
OpenAI - 7How would you handle hallucinations in a generative AI model deployed to users?MediumAI MLTechnical·
Anthropic, OpenAI - 8You received user feedback that Yelp's restaurant recommendation is not personal enough. What would you do?MediumAI MLProduct·
Google - 9How do you stay up to date with advancements in machine learning?MediumBehavioralAI ML·
Anthropic, Capital One - 10What are the different types of machine learning?MediumTechnicalAI ML·
Google - 11What is overfitting or underfitting? Which models are most likely to experience this, and why?MediumTechnicalAI ML·
Nvidia, OpenAI - 12What are common linear regression problems?MediumDataTechnical·
Amazon - 13Why is a deep neural network better than a shallow neural network?MediumTechnicalAI ML·
Google, Nvidia - 14Design an app where customer listening history is collected after they have listened to a song for more than 30 seconds for analytics use.MediumAI MLSystem design·
Amazon - 15Design a system that filters waste by detecting paper and putting it in the correct bin.MediumAI MLSystem design·
Samsung - 16Explain the differences between linear and logistic regression.MediumTechnicalAI ML·
Amazon, Google - 17How do you select the value of 'k' in the k-means algorithm?MediumTechnicalAI ML·
Microsoft - 18How would you handle an exploding gradient, given a neural network?MediumTechnicalAI ML
- 19Is the Mean Squared Error (MSE) a suitable cost function for a logistic regression model?MediumTechnicalAI ML
- 20Describe how random forests work and explain what an ensemble method is.MediumTechnicalAI ML
- 21Find Statistical Evidence for Conversion RateMediumCodingAI ML
- 22Which 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
- 23Implement a 2D Convolutional FilterMediumAI ML
- 24In K-Nearest Neighbors (KNN), does setting k=1 lead to higher variance or higher bias?MediumTechnicalAI ML