606 views
0 0 votes
There are two arrays A and B having N/2 elements. The elements are stored in ascending  order already . Merge these arrays and create a new array C of size N . A code fragement is given. fill the missing part in it. the index variables have initial value as zero

if(...........)

C[] =.......... ;

else

C[]=...........;

2 Answers

Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
1.1k
1.1k views
9 9 votes
2 answers 2 answers
23.4k
23.4k views
2 2 votes
4 4 answers
5.2k
5.2k views
GateAspirant999 asked Feb 2, 2017
5,181 views
Suppose there are 4 sorted lists of 8 elements each. If we merge these lists into a single sorted list of 32 elements. The key comparisons that are needed in the worst ca...
2 2 votes
1 answers 1 answer
10.3k
10.3k views
sh!va asked Jul 9, 2016
10,337 views
Minimum number of comparisons for merging 4 sorted files containing 50, 10, 25 and 15 records will be : 100200175125