TD Interview Question

Compare and contrast hash map and binary trees.