You've merged the two arrays into one array.
Now what is your algorithm for processing the contents of the array?
Type: Posts; User: Norm
You've merged the two arrays into one array.
Now what is your algorithm for processing the contents of the array?
Do you have an algorithm for solving the problem?
You need that before you start writing code.
How are you going to use the contents of the two arrays?