Amazon Interview Question

SQL: recursive cte to find the reporting manager chain (leetcode problem)