Eze Software interview question

One question was based on binary search tree and other was a dynamic programming problem.