I am learning algorithms and came to this Hanoi Tower. I know how to do that practically. But I am unable to code it. I haven't read the given code yet. I am trying it first myself. What should be my approach-keep trying or read the given code or something else?
Should this approach be followed with all the algorithms?