public void PathInZigZagTree_1() { var solution = new _1104_PathInZigzagLabelledBinaryTree(); var result = solution.PathInZigZagTree(14); AssertHelper.AssertList(new int[] { 1, 3, 4, 14 }, result); }
public void PathInZigZagTree_2() { var solution = new _1104_PathInZigzagLabelledBinaryTree(); var result = solution.PathInZigZagTree(26); AssertHelper.AssertList(new int[] { 1, 2, 6, 10, 26 }, result); }