Question
C++ Implement a templated doubly-linked list . Your linked list class should implement the following functionality: Find(dataToFind) returns a pointer to the node whose key
C++
Implement a templated doubly-linked list. Your linked list class should implement the following functionality:
Find(dataToFind) returns a pointer to the node whose key matches dataToFind.
Insert(newData) inserts a new node at the end of the list with a key equal to newData
Delete(delNode)- deletes the node that delNode points to from the list. For extra credit, implement a function that finds the Minimum and Maximum values in your linked list.
Minimum() returns the minimum key in the list
Maximum() returns the maximum key in the list
Your main program should instantiate, initialize and correctly demonstrate the functionality of the linked list.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started