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
what is main purpose of interface?
2 Answers Accenture, HCL, NIIT,
What are the object and class classes used for?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
What are the advantages of inner classes?
how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r there?
What are streams?
What is a compilation unit?
What's the purpose of static methods and static variables?
Differentiate between array list and vector in java.
What are inbuilt functions in java?
How can constructor chaining be done using this keyword?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }