1.

How To Search For Data In A Linked List?

Answer»

Unfortunately, the only way to search a linked list is with a LINEAR search, because 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 DIFFERENT data structure so that searches can be more efficient.

Unfortunately, the only way to search a linked list is with a linear search, because 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 different data structure so that searches can be more efficient.



Discussion

No Comment Found