DIY: Populating Next Right Pointers in Each Node II
Solve the interview question "Populating Next Right Pointers in Each Node II" in this lesson.
Problem statement
You are given a binary tree that is not perfect. We have added an additional next
pointer to our TreeNode
implementation.
Populate each next
...