+ 1
How did you learn algorithms???
- In your head - Flowcharts - Psuedocode - On paper There's probably more but these are main that stand out to me.
2 Answers
+ 15
Firstly, I think about what the algorithm should do. Then make some internet research, scribble stuff down on paper, implement a prototype... After it's basically working I'll optimize stuff.
From time to time I also go to a relaxing place, like a beergarden, and just think about the issue without computer, paper or anything else...
+ 4
this one bothers me a lot too,
Algorithms and Data structure these 2 things makes my head pain.
so I try my best to outsource the pain to paper and practice.
I hope solving problems related to them daily will help a lot,
a friend suggested me to start practicing such problems on hackerrank or hackerearth daily, to stay in shape and reduce future pains.
just recently started so hopefully it should help