Searching for a specific node in Doubly Linked ListWe just need traverse the list in order to search for a specific element in the list. Perform following operations in order to search a specific operation.
Algorithm
  WRITE "UNDERFLOW" return i C FunctionOutput 1.Create 2.Search 3.Exit 4.Enter your choice?1 Enter the item 23 Node Inserted 1.Create 2.Search 3.Exit 4.Enter your choice?1 Enter the item 90 Node Inserted 1.Create 2.Search 3.Exit 4.Enter your choice?2 Enter item which you want to search? 90 item found at location 1
Next TopicDoubly Linked List
|