An efficient way to handle deletions in a hash table is to use a _______ value to mark deleted entries, allowing for proper rehashing.

  • Null
  • Sentinel
  • Special marker
  • Unique key
An efficient way to handle deletions in a hash table is to use a special marker value to mark deleted entries. This allows for proper rehashing and ensures that the deleted entries are correctly accounted for during subsequent operations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *