๐Ÿ“ข Too many exams? Donโ€™t know which one suits you best? Book Your Free Expert ๐Ÿ‘‰ call Now!

  • google app store apple app store
  • โœ–

      Question

      In hashing, what is a collision?

      A Same hash function Correct Answer Incorrect Answer
      B Different keys mapping to the same hash value Correct Answer Incorrect Answer
      C Duplicate keys Correct Answer Incorrect Answer
      D Full hash table Correct Answer Incorrect Answer
      E Wrong hash output Correct Answer Incorrect Answer

      Solution

      Collision occurs when two keys hash to the same index; handled via chaining or open addressing.

      Practice Next
      ask-question