Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions