Populate Next Right Pointers Tree
- Time : O(n)
- Space : O(logn)
c++
1 | /** |