Question: Array A = {2, 5, 7, 8, 13, 23, 27} and array B = {2, 6, 5, 8, 3, 23, 29}. Write an algorithm to
Array A = {2, 5, 7, 8, 13, 23, 27} and array B = {2, 6, 5, 8, 3, 23, 29}. Write an algorithm to create an array C such that C contains all the elements that are not common in either A or B. Array C should be printed in sorted order. Output: C = {3, 6, 7, 13, 27, 29}
please elaborate the answer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
