The programming language: C++ The union of two ordered lists (Sequential linear list)[the solution introduction: The first video of in 3.1, 35:00-43:00] [Problem description] Give the union of two...



The programming language:  C++



The union of two ordered lists (Sequential linear list)[the solution



introduction: The first video of in 3.1, 35:00-43:00]



[Problem description]


Give the union of two ordered lists. The maximal number of elements in an


inputted set is 30.



[Basic requirements]


1) Use sequential linear list.


2) The result list should also be ordered.



[Example]



Problem:
Give the union of the ordered lists (3,4,9,100,103) and


(7,9,43,53,102,105).



What you need to show in the terminal(the back part is outputted by you



and the blue part is inputted by the user, i.e., teacher):


Please input the first ordered list: (3,4,9,100,103)Please input the second ordered list: (7,9,43,53,102,105)


The union is:


(3,4,7,9,9,43,53,100,102,103,105)



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here