Bobyard·Software Engineer·Technical Phone Screen
- Given comment data that includes a parentId field, render the comments as a nested threaded tree in the frontend using mock data (no backend changes needed).
- Bonus: add a filter to the nested comment view so that only comments matching the filter text and their descendants are shown, while non-matching siblings and their subtrees are hidden.
“The parentId part is straightforward if you've done tree rendering before, basically build a map of id to children and recurse.”