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

  1. 961Reverse a linked list.EasyCoding· Adobe, Apple
  2. 962Set Matrix ZeroesMediumCoding· Apple
  3. 963Infection spread simulation.MediumCoding· OpenAI
  4. 964Find the smallest missing element from a sorted array.EasyCodingTechnical· Meta
  5. 965What are the different types of software testing?MediumCodingTechnical· Salesforce
  6. 966Solve a Rummy Deck (12-card hand).MediumCoding· GCGoogle Cloud (GCP)
  7. 967Sort a doubly linked list using merge sort.MediumCodingTechnical· Meta
  8. 968Write SQL code to publish the Fibonacci series.MediumCodingData· Google, Microsoft
  9. 969How would you perform a lookup in SQL?EasyCoding· LinkedIn
  10. 970Given an array of integers, print all subarrays that sum to zero.MediumCodingData· Meta
  11. 971Find the sum of all elements in a binary tree that fall within the range [low, high], where 'low' and 'high' are integers.MediumCoding· Meta
  12. 972Top Salaries by DepartmentHardCodingData· Tesla
  13. 973Total Outfit CombinationsEasyCoding· Oracle
  14. 974Given a list of trades, iterate to return buy/sell pairs and overall profit.MediumCodingTechnical· Robinhood
  15. 975Tree Node.EasyCodingData· Google
  16. 976Valid ParenthesesEasyCoding· Apple, Booking.com
  17. 977Is this a valid palindrome?EasyCoding· Adobe, Apple
  18. 978What are virtual functions?MediumCodingTechnical· Nvidia
  19. 979Write a program to count the frequency of each character in a given text file.EasyCodingTechnical· Andela
  20. 980Given two strings, return true if you could change 2 letters in the s string and return the goal string. If this isn't possible, return false.MediumCoding
  21. 981Consecutive LoginsMediumCodingData
  22. 982Copy a Spiral MatrixMediumCoding
  23. 983Given a large set of CSV files with thousands of paragraphs each, how would you detect duplicates within each file, and how would you scale this solution for many files?MediumCoding
  24. 984E-commerce (2 of 5)EasyCodingData