We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 77a4d0d + 7ab3c8f commit 300cc71Copy full SHA for 300cc71
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