ZestMoney interview question

1. traverse a binary tree 2. build a trie Data structure