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

343 questions

  1. 289What are the different types of software testing?MediumCodingTechnical· Salesforce
  2. 290Solve a Rummy Deck (12-card hand).MediumCoding· GCGoogle Cloud (GCP)
  3. 291Sort a doubly linked list using merge sort.MediumCodingTechnical· Meta
  4. 292Write SQL code to publish the Fibonacci series.MediumCodingData· Google, Microsoft
  5. 293Given an array of integers, print all subarrays that sum to zero.MediumCodingData· Meta
  6. 294Find the sum of all elements in a binary tree that fall within the range [low, high], where 'low' and 'high' are integers.MediumCoding· Meta
  7. 295Given a list of trades, iterate to return buy/sell pairs and overall profit.MediumCodingTechnical· Robinhood
  8. 296What are virtual functions?MediumCodingTechnical· Nvidia
  9. 297Given 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
  10. 298Consecutive LoginsMediumCodingData
  11. 299Copy a Spiral MatrixMediumCoding
  12. 300Given 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
  13. 301Find Customers by DepartmentMediumCodingData
  14. 302List the Differences Between Two StringsMediumCoding
  15. 303What is the time complexity for Quick Sort and Merge Sort algorithms?MediumCoding
  16. 304Shortest Cell PathMediumCoding
  17. 305Find Statistical Evidence for Conversion RateMediumCodingAI ML
  18. 306Campaign Impact RankingMediumCodingData
  19. 307Given a graph with N nodes and M edges, identify its network topology. Return 1 for Bus (linear chain), 2 for Star (one central node), 3 for Ring (circular), or -1 if none match.MediumCoding
  20. 308Decrypt MessageMediumCoding
  21. 309E-commerce (3 of 5)MediumCodingData
  22. 310Employee Earnings.MediumCodingData
  23. 311EPA Temperature MonitoringMediumCodingData
  24. 312Find Campaign PurchasesMediumCodingData