Technical Interview

Home
Technical Interview
Interview Process
Introduction Questions
Quantitative Problems
Google & Microsoft
Algorithms
Object Oriented
C/C++ Questions
Java Questions
Data Structures
Fundamental Questions
Puzzles
Resume Tips
Added Recently
Links
Contact Us
Submit Question/Answer

 

500 men are arranged in an array of 10 rows and 50 columns according to their heights. Tallest among each row of all are asked to come out. And the shortest among them is A. Similarly after resuming them to their original positions, the shortest among each column are asked to come out. And the tallest among them is B. Now who is taller A or B ?

 

 

Solutions:

 

No one is taller, both are same as A and B are the same person.
As it is mentioned that 500 men are arranged in an array of 10 rows and 50 columns according to their heights. Let's assume that position numbers represent their heights. Hence, the shortest among the 50, 100, 150, ... 450, 500 is person with height 50 i.e. A. Similarly the tallest among 1, 2, 3, 4, 5, ..... 48, 48, 50 is person with height 50 i.e. B. Now, both A and B are the person with height 50. Hence both are same.

 

 

 

 

 

 

 

More Solutions