Cisco interview question

Write hashmap Write program to tell if tree is mirror.