Skip to content

Commit 6dd8bad

Browse files
authored
Merge pull request williamfiset#104 from sam000013/patch-1
Corrected the documentation at line no 57
2 parents 1e9c1bd + af0c0eb commit 6dd8bad

File tree

1 file changed

+1
-1
lines changed
  • com/williamfiset/algorithms/datastructures/dynamicarray

1 file changed

+1
-1
lines changed

com/williamfiset/algorithms/datastructures/dynamicarray/IntArray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void set(int index, int elem) {
5454
arr[index] = elem;
5555
}
5656

57-
// An an element to this dynamic array
57+
// Add an element to this dynamic array
5858
public void add(int elem) {
5959
if (len + 1 >= capacity) {
6060
if (capacity == 0) capacity = 1;

0 commit comments

Comments
 (0)