Status: IN
If only one of `x` or `y` is found at a BFS level, `isCousins` returns `False` immediately without visiting deeper levels, since different depths means they cannot be cousins.
Source: entries/2026/06/06/cousins-in-binary-tree-solution.md
JSON