0431: Encode N-ary Tree to Binary Tree

Problem Statement