Joseph R. Eoff
Results
1
comments of
Joseph R. Eoff
Close. The for loop is a bit off. With it corrected, everything works. Correct for loop: for (int i = oldLength - 1; i < idx + 1;i++ )