Populating Next Right Pointers in Each Node

Can you solve this problem? 🤔