Java

Java

Postby kate » Fri Jul 04, 2008 11:02 am

We have given two unidimensional arrays A (a<sub>1</sub>, a<sub>2</sub>,...., a<sub>n</sub>) and B (b<sub>1</sub>, b<sub>2</sub>,...., b<sub>n</sub>) with n elements. Make a new array C with 2n elements, produced as follows:
a<sub>1</sub>,b<sub>1</sub>, a<sub>2</sub>,b<sub>2</sub>,...., a<sub>n</sub>, b<sub>n</sub>.
Sort the new array in an ascending sequence.
kate
 
Posts: 91
Joined: Mon Apr 09, 2007 3:58 pm
Reputation: 2

Return to Programming and Algorithms



Who is online

Users browsing this forum: No registered users and 1 guest

cron