GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Infosys  >  Aptitude

 Print  |  
Question:  Once there came many birds to a pond

Answer: Once there came many birds to a pond. There were certain number of lotus flowers in the pond. If each bird occupied one lotus one bird was left alone without any flower. If two birds sat in a flower one flower was left behind. Find the total number of birds and flowers.


July 07, 2009 06:11:58 #3
 navateja   Member Since: July 2009    Total Comments: 2 

RE: Once there came many birds to a pond
 
There are 4 lotus flowers and 3 birds. Let the 0s represent the birds. Let the 1s represent the lotus flowers.

CASE1:
             Each bird sat on each lotus flower, one bird was left alone.

                          1      1      1       1
                          0      0      0     

CASE2:
             Two birds sat on each lotus flower, one flower was left alone.

                               (1 1)       (1 1)
                                  0             0            0

Hence, the answer is 4 birds and 3 lotus flowers
     

 

Back To Question