The task is to add elements from one ordered integer ArrayList to another and the elements in the result array should be in order too. It should work in the most effective way.
My Logic is this:
A.addAll(B);
Collections.sort(A);
But I'm not really sure this is the best solution.