C++
Make a prototype, including task, input and output, of mergeLists
that would take two lists of reference (ArrayList)
and return a merged list as in alternating adding items from each
list
(i.e. position 1 from list 1, position 1 from list 2, position 2 from list 1, position 2 from list 2, and so on). Note, do NOT code the function.
Here is the solution. Please do upvote thank you.
Get Answers For Free
Most questions answered within 1 hours.