Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create your own STL library as mySTL.h create a mySTL.h header file in C++ that will contain these templated classes and methods. 1. SingleLinkedList class

image text in transcribed

image text in transcribed

Create your own STL library as mySTL.h create a mySTL.h header file in C++ that will contain these templated classes and methods. 1. SingleLinkedList class a. insertAtLast b. insertAtFirst c. insertAtAnyPos d. insertBeforeElement e. deleteElementByValue f. deleteAtPos g. displaylist 2. DoubleLinkedList class a. insertAtLast b. insertAtFirst c. insertAtAnyPos d. insertBeforeElement e. deleteElement f. deletePos g. displaylist 3. Stack class (use linked list instead of array) a. push b. pop c. top 4. Queue class (use linked list instead of array) a. enqueue b. dequeue c. front d. rear 5. BST class a. insertIntoBST b. searchInBST c. displayInorder d. displayPreorder e. displayPostorder Finally demonstrate the use of your mySTL library in a demo.cpp file. You must submit two cpp files 1. mySTL.cpp and 2. demo.cpp

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Question

Distinguish between hearing and listening.

Answered: 1 week ago

Question

Use your voice effectively.

Answered: 1 week ago