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.
1 parent e41a215 commit da5d320Copy full SHA for da5d320
ArrayList methods
@@ -7,5 +7,5 @@ once the array is full(i.e. ArrayList is full), the array is copied to different
7
this copying of all the elements due to insufficient space causes (n) operation. Hence on an average,
8
the time complexity is O(n), but if this case is avoided then the time complexity is O(1), similar to array addition
9
operation.
10
-All of the other operations run in linear time (roughly speaking).
+All of the other operations run in linear time [i.e. O(n) time](roughly speaking).
11
The constant factor is low compared to that for the LinkedList implementation.
0 commit comments