Computer Science, asked by Yashvekariya33, 7 months ago

Linked list search complexity is

Answers

Answered by Anonymous
1

Explanation:

In terms of time complexity searching in both of them takes O(n) if index of element is not known whereas if it's known than it's just O(1) for array list whereas O(n) for linked list. In case of element deletion the time complexity for an array list is O(n) whereas for linked list it's just O(1).

Similar questions