Snowflake phone-screen question, reconstructed from 2 candidate reports (August 2025 to April 2026). Tests: BFS shortest path; tree recursion and traversal. Candidates reported 1 follow-up. The write-up includes a Python solution that passes 6 test cases.