How will you reverse a singly-link list?
No Answer is Posted For this Question
Be the First to Post Answer
How does thread synchronization occurs inside a monitor?
What is data type modifier?
what is platform
Can you achieve runtime polymorphism by data members?
What are the drawbacks of singleton class?
What is 'finally' method in Exceptions?
How do you calculate square roots?
why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?
2 Answers Global Logic, Satyam,
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.
Does variable declaration allocate memory?
what is difference between method overloading & method overridding with example?
What is skeleton and stub?