Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Program Discussion :: Array

Home > Programs > Array

3 / 23

Given three sorted arrays A, B, and C. Write the most efficient algorithm to find the 5th largest element among the three arrays.


class demo{

    public static int [] merge(int a[],int b[],int n1, int n2)
        int c[] = new int[n1 n2];
        int i=0,j=0,k=0;

Asked In :: Nagarro HackerRank

Post Your Answer Here:


Post Your Reply Here: