Question Link:

https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/


Exactly same solution to Populating Next Right Pointers in Each Node.