Do they want the array to be in particular order


#1

Comment body goes here.


#2

Yes, in the same order of input.