For sequential data models like LinkedList
, search algorithms like linear-search
and binary-search
are well known.
Are their any other search algorithms apart from these two, that work on sequential data models like LinkedList
?
Note: As far as representation is concerned tree
can also be a sequential data model(using python: [[4, 5, 6], [1, 3, 9], 7]
) but that is not relevant to this question.