Home
/
Questions
/
Coding
/
Every node reachable from node 1
caseSQL
Coding question · Self Join Pairs
Very Hard
Asked at Palantir
Every node reachable from node 1
Graph reachability via a recursive CTE traversal.
Unlock with Pro
→
Back to all coding questions
The Brief
← Previous
Merge overlapping leave intervals per employee
Next →
Shortest-path depth from node 1