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 190Medium 2,498Hard 982
Filters · onDifficulty, topic, company
190 questions
- 49Richest Customer WealthEasyCoding·
Google - 50Smallest Missing Integer Greater Than Sequential Prefix SumEasyCoding·
Walmart - 51Sort Array By ParityEasyCoding·
Meta - 52Sort Even and Odd Indices IndependentlyEasyCoding·
Meta - 53The Number of Users That Are Eligible for DiscountEasyCoding·
InfoEdge India Ltd - 54Ugly NumberEasyCoding·
Amazon - 55Write a function to check whether a string contains a substring.EasyCoding·
Nvidia - 56Describe an endpoint and provide two examples.EasyTechnical·
LinkedIn - 57What's your favorite non-tech product that you use frequently?EasyProduct·
Apple - 58What is your favorite physical product?Easy·
Tesla - 59Find the DuplicatesEasyCoding·
Adobe, Apple - 60Implement a k-nearest neighbors algorithm.EasyCodingAI ML·
Amazon, Pinterest - 61L1 vs L2 regularizationEasyAI ML
- 62Overfitting: detection and preventionEasyAI ML
- 63Precision vs recall vs F1 vs AUCEasyAI ML
- 64The main parts of a RAG systemEasyAI ML
- 65Tools in agentic AI and how agents pick themEasyAI ML
- 66What are embeddings, beyond similarity search?EasyAI ML
- 67What is an AI agent vs a prompt vs a chain?EasyAI ML
- 68Maximum ProfitEasyCoding·
Google - 69Most Common WordsEasyCoding·
Amazon - 70Move all zeros to the end of an array.EasyCoding·
Adobe, Amazon - 71Sort a binary array in linear time.EasyCoding·
Accenture, Apple - 72You'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