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
28 questions
- 1Climbing StairsEasyCoding·
Media.net - 2Merge Strings AlternatelyEasyCoding·
Google - 3Richest Customer WealthEasyCoding·
Google - 4Maximum ProfitEasyCoding·
Google - 5Sort a binary array in linear time.EasyCoding·
Accenture, Apple - 6Calculate the height of a binary tree.EasyCoding·
Apple, Google - 7Count the number of ways to split a string.EasyCoding·
Google - 8Degrees of FriendshipEasyCoding·
Google - 9Tell me about a time when you dealt with a difficult person at work.EasyBehavioral·
Amazon, Anthropic - 10Explain what an API is for a five-year-old.EasyTechnical·
Apple, Google - 11How would you explain cloud computing to your grandmother?EasyTechnical·
Google, Google Cloud (GCP) - 12How would you explain computer vision to your grandmother?EasyTechnical·
Google - 13How would you explain machine learning to a five-year-old?EasyBehavioral·
Google - 14How would you explain machine learning to your grandmother?EasyTechnical·
Apple, Google - 15What is your favorite brand and why?EasyBehavioral·
Google - 16What is your favorite app on your phone?Easy·
Google - 17Fibonacci NumbersEasyCoding·
Adobe, Google - 18If you could float on water, like a boat, what would you be and why?EasyBehavioral·
Google - 19Given two strings of equal length, determine if it's possible to form a palindrome by cutting them in half.EasyCoding·
Google - 20How did you hear about this position?EasyBehavioral·
Google - 21List three products you like and three you dislike.EasyProduct·
Google - 22Name a product that falls short of a company's promise.EasyProduct·
Google - 23Reverse a SentenceEasyCoding·
Adobe, Apple - 24Reverse a linked list.EasyCoding·
Adobe, Apple