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

5.Call by value and Call by reference with program?

0 Answers  


sample and simple coding where we get?

0 Answers   IBM,


Which language they use during interview?

0 Answers   State Bank Of India SBI,


How to print a name "ARCHANA" in any programming language

6 Answers   Value Labs,


i am getting the error while compiling my cics program with including db2 dclgen member it is showing that ur dclgen member not including and all the host variables are undeclared

0 Answers   TCS,


what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct

0 Answers   HP,


what are all the ant command options

0 Answers  


why we need to take u?

0 Answers  


Any real time example of O2C process from taking order till creating invoice.

0 Answers  


Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?

0 Answers  


Is anyone has done the ASP.NET MVC4 workshop course(2 days) from Peers Technologies. Let me know. I need to talk before joining ASP.NET MVC4 training at peers, Hyderabad.

0 Answers  


3. What is the difference between testing and Quality Assurance?

0 Answers  


Categories