Meta interview question

One was a simple dynamic programming question, while the other was a tree question.