Siemens Interview Question

Algorithms related to solving tree problems.