Problem 1469 · Easy
A node is lonely when it is the only child of its parent. Find every lonely value in a binary tree.
Open the interactive visualisation