Longest Chain in a Binary Tree

What is a chain in a binary tree? How to find it? Let’s find out.

Shuo Wang

--

A binary tree is a special type of graph where each parent node has exactly two child nodes.

Today’s puzzle, then, is to traverse the binary tree in order to find the longest chain in the binary tree!

--

--

Shuo Wang

Interesting pieces on various topics in finance and technology.