We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d08a6a + 9032e7d commit 0d644d5Copy full SHA for 0d644d5
src/com/jwetherell/algorithms/data_structures/List.java
@@ -46,6 +46,7 @@ public boolean add(int index, T value) {
46
// Shift the array down one spot
47
System.arraycopy(array, index, array, index+1, size - index);
48
array[index] = value;
49
+ size++;
50
}
51
return true;
52
0 commit comments