Do you write out the algorithm before coding?

I was having difficulty with the intermediate algorithm scripting, but when I took a pen and wrote down the algorithm before actually coding, I began to hit the target. Does anyone have such a challenge and how do you handle it?

1 Like

I have a few strategies. One is to write the algorithm. The other is a method I use when the problem is too big to understand right away. Basically I break the problem down into smaller problems, even if I don’t necessarily understand the pieces. Then I solve the bits I know how to solve and sometimes just doing that helps me understand more of the other pieces that I couldn’t quite get my head around initially. (And then I repeat that process until I am done)

1 Like

Pencil and paper is a great place to start coding!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.