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
- 673Segment treesCoding·
Google - 674Sequentially Ordinal Rank TrackerHardCoding·
Amazon - 675Serialize and De-serialize BTCoding·
Oracle - 676Shortest pathCoding·
Meta - 677Shortest path between two spots on a chessboard (with obstacles)Coding·
Amazon - 678Shortest Path in Weighted Graph Using Dijkstra’s AlgorithmCoding·
McKinsey & Company - 679Shortest Subarray to be Removed to Make Array SortedMediumCoding·
Goldman Sachs - 680Sieve of EratosthenesCoding·
Wayfair - 681Sliding WindowCoding·
Deliveroo, Flipkart - 682Sliding WindowCoding·
Adobe - 683Sliding window Modifed versionCoding·
Infosys - 684Sliding Window techniqueCoding·
Cisco - 685Smallest Missing Integer Greater Than Sequential Prefix SumEasyCoding·
Walmart - 686Smallest Subsequence of Distinct CharactersMediumCoding·
PhonePe - 687Sort Array By ParityEasyCoding·
Meta - 688Sort Characters by FrequencyCoding·
Goldman Sachs - 689Sort Even and Odd Indices IndependentlyEasyCoding·
Meta - 690Sort a K-Messed ArrayMediumCoding·
Meta - 691SortingCoding·
GoDaddy, Microsoft - 692Special Binary StringHardCoding· TSTechMojo Solutions
- 693Spiral MatrixCoding·
Meta, PayPal - 694Spiral Matrix TraversalCoding·
Apple - 695Spreading FireCoding·
PhonePe - 696SQL RelatedCoding· BBarclays, Infosys