Question: Need help with this questions 1. Identify 2 different types of ADT's and explain how they function. 2. I have an array which supports the

Need help with this questions

Need help with this questions 1. Identify 2 different types of ADT's

1. Identify 2 different types of ADT's and explain how they function. 2. I have an array which supports the following functions for an ADT. The parameter "index" is an integer variable which identifies the array location (always at the right), e" is a variable which contains the value 7"X is a variable which contains the value 9. Assume the array supports 10 instances and is initially populated with value 5, 3, 9, 1, array is manipulated to achieve the following functions: 2 in this exact order. E xplain and include a dia gram to show how the (a) Insert (indx, e) (b) remove (x) (c) findlast 3. Explain and diagram what is being accomplished by the following 6 C++ instructions in a double linked list. prev and next" are the variable names for the pointers. x" and z" are nodes linked to each other. Y" is a newly created Nodes: Linkptr1 = z prev Linkptr2-x next v prev = Linkptr1 next prev ynext-Linkptr2 Linkptr2 prev = y next = Linkptr29prev

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!