Skip to content

Commit c976fdc

Browse files
committed
update populating next right pointers
1 parent b663bc8 commit c976fdc

File tree

1 file changed

+5
-0
lines changed
  • populating-next-right-pointers-in-each-node

1 file changed

+5
-0
lines changed

populating-next-right-pointers-in-each-node/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## First glance
2+
3+
It would be an easy problem if [Binary Tree Level Order Traversal](../binary-tree-level-order-traversal) works.
4+
Yet, a queue is not allow because of that constant space is required.
5+
16
## Recursion
27

38
connecting left and right child is easy, just `node.left.next = node.right`

0 commit comments

Comments
 (0)