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 10Medium 67Hard 3
Filters · onDifficulty, topic, company
80 questions
- 25How is object-oriented programming (OOP) different from procedural programming?MediumTechnical·
Visa - 26As a PM for Instacart, what potential issues do you foresee after a customer places an order?MediumDataTechnical·
DoorDash - 27Session Data Analysis.HardCodingTechnical·
Amazon - 28How would you train a model on a large dataset with few labels?HardTechnical·
Amazon - 29What are the different types of machine learning?MediumTechnicalAI ML·
Google - 30What is overfitting or underfitting? Which models are most likely to experience this, and why?MediumTechnicalAI ML·
Nvidia, OpenAI - 31What is caching and why is it needed?MediumTechnical·
Amazon - 32You're trying to take a photograph of two teams arranged in rows. How would you order them so shorter players are in front and taller players are behind?EasyCodingTechnical·
Anduril - 33For a dataset with a million data points, would you use a DNN or KNN? Why?MediumTechnical·
Pinterest - 34What are common linear regression problems?MediumDataTechnical·
Amazon - 35Given n employees and an expansion rate r, find the number of employees after t years.EasyTechnical·
Salesforce - 36Why is a deep neural network better than a shallow neural network?MediumTechnicalAI ML·
Google, Nvidia - 37Explain the key differences between BETWEEN and HAVING clauses in SQL.MediumTechnicalData·
Deloitte - 38What is the difference between inheritance and composition?MediumTechnical·
Canva, Walmart Labs - 39What is the difference between NoSQL and SQL?MediumTechnicalData·
Amazon, Apple - 40Explain the differences between linear and logistic regression.MediumTechnicalAI ML·
Amazon, Google - 41Explain the differences between nonconvex and convex functions.MediumTechnical·
Pinterest - 42Explain the differences between ReLU and Sigmoid.MediumTechnical·
Pinterest - 43What are some effective loss functions for computer vision models?MediumTechnical·
Amazon - 44What methods or metrics did you use to evaluate how well your LLM performs?MediumAI MLTechnical·
Snap - 45Explain what a blockchain is as if to a five-year-old.EasyBehavioralTechnical·
Microsoft - 46Explain callback functions.MediumCodingTechnical·
Nvidia - 47How would you explain computer vision to your grandmother?EasyTechnical·
Google - 48What is encapsulation?MediumCodingTechnical·
Accenture