Coding question · Self Join PairsVery HardAsked at Palantir

Shortest-path depth from node 1

BFS shortest-path via recursive CTE + MIN aggregation.

The Brief