Are we supposed to assume that every ball played is a hit? Or should we
consider a hit or a fail case??


On Sat, Jan 12, 2013 at 7:12 PM, Raunak Gupta <[email protected]>wrote:

>
> how is winning going to decided
>
> On Sat, Jan 12, 2013 at 6:33 PM, siva <[email protected]> wrote:
>
>> consider there are N balls in a basket. 2 players play the turns
>> alternatively ..AT each turn,the player
>>
>> can take 1 or 2 balls from the basket. the first player starts the game..
>> Both the players play optimally.
>>
>>    i)   Given N,tell whether the 1st player win or loss ?
>>
>>    ii) If player 1 wins, how many balls he should take at this first
>> turn(1 or 2) ?
>>
>> --
>>
>>
>>
>
>  --
>
>
>

-- 


Reply via email to