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
1,063 questions
- 25CandyCoding·
Microsoft - 26Capacity to Ship Packages Within D DaysCoding·
Flexport, Meta - 27Celebrity ProblemCoding·
Flexport, Microsoft - 28Change Case of Each Character in a StringCoding·
Amazon - 29Cheapest flight within K stopsCoding·
Microsoft - 30Check for Contradictions in EquationsCoding·
Microsoft, PhonePe - 31Check If a Number Is a Majority Element in a Sorted ArrayCoding· ZZupee
- 32Check if a tree is a BST or notCoding·
M2P Fintech - 33Climbing StairsEasyCoding·
Media.net - 34Closest Binary Search Tree Value IICoding·
Meta - 35Coin PathCoding·
Amazon, PhonePe - 36Combination SumCoding·
eBay - 37Combination Sum IICoding·
InfoEdge India Ltd - 38Concatenate One String to AnotherCoding·
M2P Fintech - 39Confusing Number IICoding·
Media.net - 40Connecting Cities With Minimum CostCoding·
Amazon - 41Convert Digits/Numbers to WordsCoding·
TCS - 42Correct a Binary TreeCoding·
TCS - 43Count of Subarrays with Sum Divisible by KCoding·
Morgan Stanley - 44Count subarrays with given sumCoding·
Amazon, Meta - 45Course Schedule ICoding·
Microsoft, Visa - 46Course Schedule IICoding·
Atlassian, Flipkart - 47Delete a node in BSTCoding·
Oracle - 48Detect a loop in LLCoding· HHashedIn