KrisKo Software interview question

To implement a dynamic tree view component.