In a linked list how can I search for data

In a linked list how can I search for data?

E

Expert

Verified

Unfortunately, the only way to search a linked list is with a linear search, since the only way a linked list's members can be accessed is sequentially. Sometimes it is quicker to take the data from a linked list and store it in a dissimilar data structure so that searches can be more efficient.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.