DFS and BFS Algorithms to Find All the Lonely Nodes of a Binary Tree June 4, 2020 algorithms, BFS, c / c++, DFS, recursive No Comments In a binary tree, a lonely node is a node that is the only child of its parent node. The root of the tree is not lonely because it … [Continue Reading...]