TD interview question

Compare and contrast hash map and binary trees.