We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e9c1bd + af0c0eb commit 6dd8badCopy full SHA for 6dd8bad
com/williamfiset/algorithms/datastructures/dynamicarray/IntArray.java
@@ -54,7 +54,7 @@ public void set(int index, int elem) {
54
arr[index] = elem;
55
}
56
57
- // An an element to this dynamic array
+ // Add an element to this dynamic array
58
public void add(int elem) {
59
if (len + 1 >= capacity) {
60
if (capacity == 0) capacity = 1;
0 commit comments