In which scenario would you prefer a hash table over a binary search tree?
-
When you need to maintain sorted order
-
When you require frequent insertions and deletions
-
When you need to perform range queries
-
When you need constant time complexity for lookups