a := AppendArrays( input1, input2) FOREACH element in a bool1 := element found in input1? bool2 := element found in input2? IF bool1 NAND bool2 THEN append element to output ENDIF NEXT
What have you tried so far?
Where are you stuck?
You know we will not do your homework!?
I got struck at Array indexing while using with nested for loop.
If 1st input array index was enabled in outer loop, then I can find only the missing element from 1st array and Vice versa.
So I've to find missing elements from both input array inputs.
I've attached the snippet.
Can I do this both mismatch elements functionality within single nested forloop?