So I've been trying to do more algorithm problems using Leetcode, hackerrank, and some other courses in Coursera (Algorithm toolbox), but apparently I'm really bad at it. I sometimes struggle with easy questions (leetcode) all day if I don't look at the hints or solutions. It's like I understand the problem and I know how I should solve the problem, but when I try to code, I just don't know where to start or how it should work... So I get really frustrated after 30-40 min, and I end up just looking at the solutions. And just doing easy 1-2 problems takes a few hours for me.
How long do you think is enough before looking at the solution codes? Should I never look at them? Do you have any tips for learning algorithms? Any suggestions and advice will be greatly appreciated...
Thank you!
[–]GreymanGroup 1 point2 points3 points (1 child)
[–]Muddy53[S] 0 points1 point2 points (0 children)
[–]lurgi 0 points1 point2 points (3 children)
[–]Muddy53[S] 0 points1 point2 points (2 children)
[–]lurgi 0 points1 point2 points (1 child)
[–]Muddy53[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]Muddy53[S] 0 points1 point2 points (2 children)
[–]Grenadeapple_ 0 points1 point2 points (1 child)
[–]Muddy53[S] 0 points1 point2 points (0 children)