Problem 863 · Medium
Record parent links, then run a BFS outward from the target for k levels.
Open the interactive visualisation