Bright Machines interview question

* Tree Traversal * Dynamic Programming * Systems Design Question that was copied from the Internet