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
FiltersDifficulty, topic, company
4,310 questions
- 1009Segment treesCoding·
Google - 1010Sequentially Ordinal Rank TrackerHardCoding·
Amazon - 1011Serialize and De-serialize BTCoding·
Oracle - 1012Shortest pathCoding·
Meta - 1013Shortest path between two spots on a chessboard (with obstacles)Coding·
Amazon - 1014Shortest Path in Weighted Graph Using Dijkstra’s AlgorithmCoding·
McKinsey & Company - 1015Shortest Subarray to be Removed to Make Array SortedMediumCoding·
Goldman Sachs - 1016Sieve of EratosthenesCoding·
Wayfair - 1017Sliding WindowCoding·
Deliveroo, Flipkart - 1018Sliding WindowCoding·
Adobe - 1019Sliding window Modifed versionCoding·
Infosys - 1020Sliding Window techniqueCoding·
Cisco - 1021Smallest Missing Integer Greater Than Sequential Prefix SumEasyCoding·
Walmart - 1022Smallest Subsequence of Distinct CharactersMediumCoding·
PhonePe - 1023Sort Array By ParityEasyCoding·
Meta - 1024Sort Characters by FrequencyCoding·
Goldman Sachs - 1025Sort Even and Odd Indices IndependentlyEasyCoding·
Meta - 1026Sort a K-Messed ArrayMediumCoding·
Meta - 1027SortingCoding·
GoDaddy, Microsoft - 1028Special Binary StringHardCoding· TSTechMojo Solutions
- 1029Spiral MatrixCoding·
Meta, PayPal - 1030Spiral Matrix TraversalCoding·
Apple - 1031Spreading FireCoding·
PhonePe - 1032SQL RelatedCoding· BBarclays, Infosys