Meta Interview Question

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