Populating Next Right Pointers in Each Node II

This is the same as previous problem "Populating Next Right Pointers in Each Node"