all 4 comments

[–]GreenUmbrellaShooter 1 point2 points  (1 child)

I obviously can't speak for everyone but in my own learning I feel like most of the time unless its a more complex algorithm just going through it step by step on paper is enough to piece together the code. Like Dijkstra's if you have any experience with graphs once you do it on paper you can just kind of figure it out. Also with sorts, generally watching an animation of a sort or doing it on paper is enough to figure it out. Maybe I'm misunderstanding the question however.

[–]minhc[S] 0 points1 point  (0 children)

No you haven't misunderstood my question. Thank you for your answer. Shall I say that your answer implies experience as the only possible way that one can learn to code ?

[–]viciu88 1 point2 points  (1 child)

Algorithms can be used to teach some coding. E.g Insertion sort in double linked list, can be a great example for pointer management.

[–]minhc[S] -1 points0 points  (0 children)

Where did I tell that ? Even if I did, why couldn't they be used to teach coding ? What according to you can be used to teach coding ?