Re: [algogeeks] Puzzle

2011-08-07 Thread mani sharma
the word "half" was so confusing in the ques!! :(

On 5 August 2011 00:24, Himanshu Srivastava wrote:

> oh ok..thankshalf part which was kept inside the
> wellmeans well must be full..that is 100ok got it completely
> thank u:)
>
>
> On Fri, Aug 5, 2011 at 12:18 AM, sagar pareek wrote:
>
>> double 87.5 gives you 175
>> 100 will be used by 1st well and 75 will be used by second
>> now second well will double the 75 and will give you 150
>> 100 will be used by second and remainder 50 will forwarded to third
>> now third one use 50 and will double it to 100
>>
>> no remainder left
>> i think its clear now  :) :)
>>
>>
>> On Fri, Aug 5, 2011 at 12:14 AM, Himanshu Srivastava <
>> himanshusri...@gmail.com> wrote:
>>
>>> i mean @sagar:how did you get 87.5%??
>>>
>>>
>>> On Fri, Aug 5, 2011 at 12:13 AM, Himanshu Srivastava <
>>> himanshusri...@gmail.com> wrote:
>>>
 @nikhil:how did you get 87.5%??

 On Thu, Aug 4, 2011 at 11:59 PM, sagar pareek wrote:

> 87.5 %
>
> On Thu, Aug 4, 2011 at 10:39 PM, Nikhil Gupta <
> nikhilgupta2...@gmail.com> wrote:
>
>> There are 3 magical wells. Any input quantity of water we provide the
>> 1st well is returned double (of this double, half is kept inside the 
>> well,
>> and the other half is used as input to the 2nd well).
>> The 2nd well also returns double the quantity of its input (of which
>> half is kept inside the well, and the other half is used as input to the 
>> 3rd
>> well). Same goes with the 3rd, but its half output is the remainder 
>> (other
>> half being kept inside the well). Now what input should we provide in the
>> 1st well, so that the remainder at the end comes out to be zero?
>>
>> (Asked in classroom coaching of T.I.M.E.)
>> --
>> Nikhil Gupta
>> Senior Co-ordinator, Publicity
>> CSI, NSIT Students' Branch
>> NSIT, New Delhi, India
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> **Regards
> SAGAR PAREEK
> COMPUTER SCIENCE AND ENGINEERING
> NIT ALLAHABAD
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>


>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to algogeeks@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> algogeeks+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>
>>
>> --
>> **Regards
>> SAGAR PAREEK
>> COMPUTER SCIENCE AND ENGINEERING
>> NIT ALLAHABAD
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Monadhika
Under graduate student,
Computer Engineering,
Netaji Subhas Institute Of Technology,
Dwarka,Delhi

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks]

2011-08-04 Thread mani sharma
Counting sort... Any kind..

On 04/08/2011, parag khanna  wrote:
> i think its Radix sort
>
>>
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
Monadhika
Under graduate student,
Computer Engineering,
Netaji Subhas Institute Of Technology,
Dwarka,Delhi

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.