Nextdoor Interview Question

given a parent-child comment history, create a tree

Nextdoor Interview Question: given a parent-child comment history, create a tree | Glassdoor