GLOBO interview question

Questions on Binary Trees, Dynamic Programming