SuperOps interview question

Task to complete nested-tree using react.