Problem Description http://oj.leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ Basic idea is to get every nodes in the current level by iterating nodes of the previous level, then to iterate all nodes in current level to connect…