Citadel
Interview Question
Quantitative Developer Interview
Citadel
Given a vector of edges (e.g., A-B, A-C, C-D), write a function to determine if the resulting graph is a tree. If it is a tree, return its root.
Unlock the Full Solution
Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

