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.



eg: 3 box contain stick as:1,1,1.

if u take 1 stick from 3rd numbred box you will any how win
the match.


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

Post New Answer

More Programming Languages AllOther Interview Questions

Outline the two important features of a terminating recursion. Any ideas?

0 Answers  


5. How do you round the addition or subtraction of two numbers in assembler?

0 Answers   Wipro,


£¢®£ž›;=9:B9<::C = ADITHI HOW TO GET?

0 Answers  


what is the current salary package in India for a lamp programmer

0 Answers   HCL,


what is the maximam caption size of lebel

1 Answers  


Artficial language is provided which of the language?

3 Answers   Geometric Software,


what is the work of 1tier,2tier,&ntier? Plz Explain it!

0 Answers  


For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

0 Answers  


Difference between debugging, running, executing of an application

0 Answers   HCL,


Fortran cannot have value by reference True or False?

2 Answers   Geometric Software,


What is a dialog based program

1 Answers  


How you ll create customizing Tcode.

1 Answers   IBM,


Categories