Nagarro Interview Questions – Set 1

Company: Nagarro

Coding Round: It consists 4 questions.
Q1. Input an array and then print the repeating characters??
Example:
Input:1,3,23,11,44,3,23,2,3.
Output:3,23

Q2. Input an array and prints the second minimum in an array??
Example
Input:34,45,21,12,54,67,15
Output:15

Q3. Find the longest palendrom in a string?
Example
Input: abfgerccdedccfgfer
Output: ccdedcc

Q4. 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)

Technical Interview:

Q1. An array contain 6 different numbers, only 1 number is repeated for 5 times. So now total 10 numbers in array, Find that duplicate number in 2 steps only?

Q2. Write a program to print elements of a linked list in reverse order by using same single linked list?

Q3. Questions on improving complexity of questions given in coding round.

Q4. Html tags,,

& ct their no of occurance of each tag & also check whether it correct or not?

Q5. Few questions were on database tables and sql queries?

Thanks CrazyforCode for having such a wonderful collection of most popular interview questions. It helped me a lot in getting this job. :-)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation