Question
In Java, which comparison about Binary Search Tree is accurate?
- There is no practical difference in behavior, performance, or API design when Binary Search Tree is involved.
- The oldest option related to Binary Search Tree is always the right production choice regardless of context.
- Differences around Binary Search Tree are mostly cosmetic, so correctness and maintainability do not change.
- A BST supports ordered search and range reasoning, while hash structures support fast lookup without natural order.
Hint
Focus on the behavior or tradeoff, not just the keyword.
Answer and rationale
Correct answer: D. A BST supports ordered search and range reasoning, while hash structures support fast lookup without natural order.
A BST supports ordered search and range reasoning, while hash structures support fast lookup without natural order. This is the comparison that usually separates memorization from understanding.
Track: Java