This visual execution compares Binary Search Tree (BST) and Hash Map for storing ordered data. We insert keys 3, 1, and 2 into both structures. BST arranges nodes so that left child is smaller and right child is larger, enabling in-order traversal to get sorted keys. Hash Map stores keys in buckets based on hash values, so keys are unordered. Lookup in Hash Map is faster by jumping directly to the bucket, while BST requires tree traversal. Range queries are easy in BST by traversing only relevant nodes, but hard in Hash Map as all keys must be checked. The execution table shows step-by-step insertions, tree structure changes, and hash map bucket states. Key moments clarify why BST keeps order and Hash Map does not, and why range queries favor BST. The quiz tests understanding of tree shape after insertions, hash map state, and range query suitability. The snapshot summarizes trade-offs: BST for ordered data and range queries, Hash Map for fast exact lookups without order.