There are N egg baskets and the number of eggs in each
basket is a known quantity. Two players take turns to remove

these eggs from the baskets. On each turn, a player must
remove at least one egg, and may remove any number of eggs

provided they all belong to the same basket. The player
picking the last egg(s) wins the game. If you are allowed to
decide who

is going to start first, what mathematical function would
you use to decide so that you end up on the winning side?



There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take..

Answer / guest

if anyone knows do reply me to this answer.....

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More C Interview Questions

Why does this code crash?

0 Answers  


In c language can we compile a program without main() function?

0 Answers  


What is maximum size of array in c?

0 Answers  


How can you access memory located at a certain address?

0 Answers  


When should the volatile modifier be used?

0 Answers  






how to write optimum code to divide a 50 digit number with a 25 digit number??

0 Answers   MGM,


how to write a data 10 in address location 0x2000

3 Answers  


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

0 Answers   Microsoft,


WHO WROTE C LANGUAGE?

4 Answers  


Which is best linux os?

0 Answers  


Why dont c comments nest?

0 Answers  


How can I call fortran?

0 Answers  


Categories