ArrayList has O(1) complexity for accessing an element in ArrayList. O(n) is the complexity for accessing an element from LinkedList.
Previous Question Next Question
Your comments will be displayed only after manual approval.