Codexx interview question

Binary tree, graphs and dynamic programming