Which data structure is faster to find or search an element?
i. sorted array [or]
ii. sorted linked list
sorted linked list will be faster
both will be of same
sorted array will be faster.
we can't predict
Sorted array will be faster as we can easily apply binary search on sorted array compared to a linked list.
Back To Top