Question: need answer ASAP C++ Question 2 [10]. Consider the struct House' as defined in the Question 1 above. Write the following functions (you must compare

 need answer ASAP C++ Question 2 [10]. Consider the struct "House'
need answer ASAP
C++

Question 2 [10]. Consider the struct "House' as defined in the Question 1 above. Write the following functions (you must compare nodes with respect to first name) to: () insert nodes in a sorted doubly linked list; (ii) remove the nodes from the doubly linked list; (iii) print the doubly linked list from head. Note: do NOT write function to create the list. Implement the following: (1) insert five elements to the doubly linked list: (Kabeer, 25), (John, 65) and (Paul, 43), (Kaur, 93), (Patel, 37) (you must hardcode these elements); (ii) print the list from head: (iii) remove an element from the list (Paul, 43) (you must hardcode this elements); (iv) print the list from head. Question 2 [10]. Consider the struct "House' as defined in the Question 1 above. Write the following functions (you must compare nodes with respect to first name) to: () insert nodes in a sorted doubly linked list; (ii) remove the nodes from the doubly linked list; (iii) print the doubly linked list from head. Note: do NOT write function to create the list. Implement the following: (1) insert five elements to the doubly linked list: (Kabeer, 25), (John, 65) and (Paul, 43), (Kaur, 93), (Patel, 37) (you must hardcode these elements); (ii) print the list from head: (iii) remove an element from the list (Paul, 43) (you must hardcode this elements); (iv) print the list from head

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!