public static void Test() { Solution s = new Solution(); int[] A = new[] { 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 }; int K = 1; s.AddToArrayForm(A, K).PrintList(); int[] A2 = new[] { 1, 2, 0, 0 }; int K2 = 34; s.AddToArrayForm(A2, K2).PrintList(); int[] A3 = new[] { 1, 2, 6, 3, 0, 7, 1, 7, 1, 9, 7, 5, 6, 6, 4, 4, 0, 0, 6, 3 }; int K3 = 516; s.AddToArrayForm(A3, K3).PrintList(); }