Bloomberg interview question

Connect next pointers in a binary tree