...

/

DIY: Populating Next Right Pointers in Each Node II

DIY: Populating Next Right Pointers in Each Node II

Problem statement

You are given a perfect binary tree. We have added an additional next pointer to our TreeNode implementation.

Populate each next pointer so it points to ...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy