Nagarro  Placement Paper   General - Other   -4 Oct 2008

#### Nagarro  Placement Paper   General - Other   -4 Oct 2008

• Posted by  FreshersWorld
7 Jan, 2012

NAGARRO PAPER ON 4TH OCTOBER,2008

I have taken an exam of Nagarro on 4th october,2008.it consist of two papers:

1.Aptitude Section: It consists of 2 sections. One is of Maths which consists 20 questions  realted cylinder volume,profit and loss,trignometry ,geometry etc.
Other one is related to Analytical reasoning which also consists of 20 Questions. for this R.S. Aggarwal is sufficient. the time given for this paper was 1 hour.......

2. Coding: It consists of four question which are:
(a) Input an array and prints the second minimum in an array??
Example
Input:34,45,21,12,54,67,15
Output:15
Sol. sorts the array and then print the second minimum number of an array.

(b) Input an array and then print the repeating characters??
Example:
Input:1,3,23,11,44,3,23,2,3.
Output:3,23

(C) Find the longest palendrom in a string?
Example
Input: abfgerccdedccfgfer
Output: ccdedcc

(d) 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)