please explain me the logic of the algorithm, of stone game problem…
Try some small cases and try to find the behavior of the game… Is it possible to find out how many moves are in game?
Sir, I want to talk to you about some help in programming, how should i improve my programming skill, what should i do when i am not able to solve a problem, etc etc…
More precisely, an algorithm is an effective method expressed as a finite list of well-defined instructions for calculating a function. Starting from an initial state and initial input (perhaps empty)
Hope it helps…
Unfortunately I’m not the one, that knows the answer. My TopCoder rating is poor, but as you can see I started at the bottom and actually I’m somewhere in the middle.
You have to do practice, a lot of practice. In the beginning you need to understands some easy rules but later you have to work even harder to become the one of the best…