static void Main(string[] args) { TreeNode t1 = TreeTools.ArrayToTree(new int[] { 3, 9, 20, 0, 0, 15, 7 }); IList <IList <int> > res = LevelOrder(t1); PrintLists(res); }