Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using c++ , implement a linked list ADT using actual pointers. The purpose of this program is to : A) Build 2 list (list_1 and

using c++ ,

implement a linked list ADT using actual pointers. The purpose of this program is to :

A) Build 2 list (list_1 and List_2 ). Each list consist of 15 random integer numbers that are between 0 and 20 exclusive Display List_1 and List_2.

B) Creat new list ( List_3 ) that contain all elements of list_1 followed by all elements of list_2. Display list_3

C) Display the number of occurrences of the First element in List_3.

D) Creat a new list ( list_4) by removing all duplicate numbers that are in list_3. Display list_4.

E) Display number of elements in list_4.

F) Display list_4 backwards.

G) Move the last element in list_4 and places it in the 3rd element in the same list. Display list_4.

H) Sort list_4 in increasing order. Display list 4

repeat the procces A-H untill user terminates the program

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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

When is it appropriate to use a root cause analysis

Answered: 1 week ago