Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Nagarro Interview Questions
Questions Answers Views Company eMail

Perform the functionality of 2-D array through 1-D array and in it the functions to be performed were: (1) Display the array in 2-D format (2) Display a particular element (3) Display a particular row (4) Display a particular column

1 4976

1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 6313

7) Suppose there is Student class like class student { int age; string name; } We want to store these objects in a HashMap. Do we need to override any methods in Student class? If any which ones and why? what if i just override equals or just hashcode? what will be the results in both the cases?

4 7572

There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.

2 10214

Input an array and then print the repeating characters?? Example: Input:1,3,23,11,44,3,23,2,3. Output:3,23 plz help me.... i want a code of it. In C language.

5 20299

ques-Input an array and prints the second minimum in an array?? Example Input:34,45,21,12,54,67,15 Output:15 I want a solution in C/C++ language

2 6765

Find the longest palendrom in a string? Example Input: abfgerccdedccfgfer Output: ccdedcc i want a solution in C/C++ language

3218

Ques--Input a number and then find the next higher number such that for both the number (inputted and the next higher number) in binary representation contains equal number os ones. Example: Input:3(0000000000000011) Ouput:5(0000000000000101) I want a solution in C/C++ language

2 10303

A table containing decimal nos. from 1 to 100 and their roman Equivalent was given. We were required to write a function : char* ConverToRoman(int number) : to convert the given number( 1<=number<=100) into its numerical equivalent. I want a solution in C/C++ language

1 5657

An array was given and we were required to write a function : int CalculateThirdHighest(int a[ ]) : which calculates the third highest number in the array. While coding in C remember to calculate the length of array using formulae length of array=sizeof(a)/sizeof(int). Because the number of elements of array were not passed as argument. i want a solution in C/C++ language

2067

Two sentences are given and we were required to print the common word in the two sentences. Words were delimited by space, full stop, ? , ! and , . The trick in the question was that common word should be printed only once so if ur first sentence contains two word "how" and second contains "how" then in output how should be printed only once for this u can replace each matched word in second sentence by spaces . i want a solution in C/C++ language

2353

We were required to write a program to check whether the given number was of the form 3^n. ( i.e. 3 to the power n). I knew that it can be done by bit manipulation but couldn't make out the logic. i want a solution in C/C++ language

1 5071

There are two sorted arrays a1 and a2 of size n1 and size n2 respectively. array a1 is full array a2 has exactly n1(size of array a1) empty space. example a1[]=1234 a2[]=56789_ _ _ _ Write a function to merge these two arrays to form a sorted array without any extra memory use. i want a solution in c/c++ language

2 5400

There is a lucky draw held every day. If there is a winning number eg. 1876, then all possible numbers like 1867 ,1687,1768 etc are the numbers that match irrespective of the position of the digits. Thus all these numbers qualify fr the lucky draw prize. Assume there is no zero digit in any numbers. Write a program to show all the possible winning numbers if a "winningnumber" is passed as an argument to the function. i want a solution in c/c++ language

1953

there is a matrix N x N .Its elements consist of either value =1 or value=0. If there is a any zero in the row, then the output matrix should have all zeroes in that row. If there is a single zero in any column then that column should have all zeroes n the output matrix. write the function to perform these operations. i want a solution in c/c++ language

1889

Post New Nagarro Interview Questions




Un-Answered Questions

Write a command with which mysql table can be repaired

542


Is it possible for current p (small-business) plan customers to upgrade to the m (mid-size business) plan?

5


What is the purpose of the import option ignore? What is its default setting?

258


What specific health concerns are common among adolescents, and how do you address topics like sexual health, substance use, and mental well-being?

1


Write a program for finding factorial of a number.

629






How can I create a div work like an input?

503


Can I host wordpress on my own server?

94


Explain why does dna twist?

458


What is a monad in scala?

1


Which css3 property is used to center text?

324


Explain what is the difference between "revocable beneficiary" and "irrevocable beneficiary"? : insurance sales

355


Define velocity ratio?

645


Mention the formula to calculate ph of a solution?

799


What is a heap table?

478


If there are some errors in goods movements, and less stock of material consumed, how can we solve that problem in sap ?

603