Arrange the elements of 2 arrays and store in a third array without using sorting techniques
Write a program in java to take 2 arrays(say ar and ar1) having numbers stored in ascending order in both. Take a third array(say ar2) to store the elements of both the previous arrays so that the resulting elements are also in ascending order.
NOTE: No sorting techniques allowed and no 4th array must be taken
Please help me in this program...
Re: Arrange the elements of 2 arrays and store in a third array without using sorting techniques
Think about how you'd do it in your head and/or with pencil and paper. Write down the steps and try it out on paper. Once you think you understand the paper approach, begin to program that process, taking it a step at a time.