Question: In which scenario would you prefer a hash table over a binary search tree?
Options:
Correct Answer: When you need constant time complexity for lookups
Solution:
Hash tables provide average-case O(1) time complexity for lookups, making them preferable when quick access is needed.