Coding question · Self Join PairsVery HardAsked at Google

Every employee's full reporting chain

Recursive CTE that builds a path array alongside depth.

The Brief