Question: Write a C++ code using C++ STL to a. Create 2 lists first list of size 3 and second with size 2 elements in each
Write a C++ code using C++ STL to a. Create 2 lists first list of size 3 and second with size 2 elements in each list. (elements inserted in 2 list are scanned from user) b. Reverse each list using stack. c. Store the two lists in a queue d. Print queue without deleting elements in it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
