Another important operation of the doubly linked list is searching for an item. To search for a specific item in the doubly linked list is a sequential process. The comparison starts from the beginning of the list until the target item is found or until the end of the list is reached. Therefore, the firs matched item is returned.
//Searching for an item in the doubly linked list
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: