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 2Medium 12Hard 3
Filters · onDifficulty, topic, company

17 questions

  1. 1Merge IntervalsMediumCoding· Blinkit, Docquity Holdings(PBS)
  2. 2Longest Increasing SubsequenceMediumCodingAI ML· Atlassian, Meta
  3. 3Group anagramsMediumCoding· Blinkit, MakeMyTrip
  4. 4Course ScheduleMediumCoding· Zoho
  5. 5Given the root of a binary tree of integers, return the maximum path sum.MediumCoding· Adobe, Apple
  6. 6Find a triplet in an array with a given sum.MediumCoding· Adobe, Goldman Sachs
  7. 7Implement LRU Cache.HardCoding· Accenture, Adobe
  8. 8Find the maximum subarray sum.MediumCoding· Adobe, Apple
  9. 9Merge k sorted linked lists.HardCoding· Adobe, Apple
  10. 10Move all zeros to the end of an array.EasyCoding· Adobe, Amazon
  11. 11Sudoku SolverHardCoding· Adobe, Apple
  12. 12Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding· Adobe, Apple
  13. 13Determine if a given binary tree is a binary search tree (BST).MediumCoding· Adobe, Google
  14. 14Find Largest NumbersMediumCoding· Accenture, Goldman Sachs
  15. 15Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding· Adobe, Amazon
  16. 16Write a function to return all prime numbers up to a given number n.MediumCoding· Adobe, Apple
  17. 17Valid ParenthesesEasyCoding· Apple, Booking.com