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

205 questions

  1. 193BST Successor SearchHardCoding
  2. 194Check if two given binary trees are identical.EasyCoding
  3. 195Given 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
  4. 196Decrypt MessageMediumCoding
  5. 197Difference of ArraysEasyCoding
  6. 198Find the first repeated character in a given string.EasyCoding
  7. 199Find the Smallest Missing IntegerEasyCoding
  8. 200Flatten a DictionaryMediumCoding
  9. 201Number FinderEasyCoding
  10. 202How would you remove duplicates in a string?MediumCoding
  11. 203Sales PathMediumCoding
  12. 204Explain the time complexity differences between ArrayList and LinkedList.MediumCodingTechnical
  13. 205Given an unsorted array, find duplicate elements in constant time, without using inbuilt functions of python.MediumCoding