Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


there are N number of matchboxes numbered 1...N.each
matchbox contain various number of stick.Two player can
alternatevely pick some amount of stick from the higest
stick containing box . The player is condidered win if
there is no stick after his move.Find the final move so
that the move player win.

Note:In case the number of stick is equal ,pick the stick
from the higest numbered box.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

0 Answers  


Why java is used everywhere?

0 Answers  


Where is the singleton class used?

0 Answers   Cap Gemini,


Can a abstract class be declared final?

0 Answers  


What environment variables do I need to set on my machine in order to be able to run java programs?

0 Answers  


What is string immutability?

0 Answers  


What are the notations in Java?

1 Answers   Cap Gemini,


What value is a variable of the string type automatically initialized?

0 Answers  


What is the format specifier?

0 Answers  


What are the differences between processes and threads?

0 Answers  


Is special character in java?

0 Answers  


Can constructor be static or final?

0 Answers  


Categories