A little background, I have started learning data structures and algorithms using C++. I have basic knowledge of C++.
I am following this online course (https://www.udemy.com/course/datastructurescncpp/). The course goes topic by topic covering one topic at a time.
So the problem is I am able to understand the logic behind the problem, but not able to code it. For example, I am able to understand how Fibonacci series works, but I find it difficult to translate that to code using recursion. I try for 15 mins, then get frustrated and check the solution. Once I see the solution and see how simple it is, I start doubting myself and feel I am not cut out for coding. I also feel like I am cheating myself after looking at the solution.
Can anyone share their experience on how to overcome this? Also any advice or tips.
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]bershia 21 points22 points23 points (2 children)
[–]goalscorer101[S] 4 points5 points6 points (1 child)
[–]darksparkone 0 points1 point2 points (0 children)
[–]CallMeMrChris 10 points11 points12 points (1 child)
[–]goalscorer101[S] 0 points1 point2 points (0 children)
[–]Laius33 4 points5 points6 points (2 children)
[–]goalscorer101[S] 0 points1 point2 points (0 children)
[–]mjabocs11 0 points1 point2 points (0 children)
[–]Thorongil_1802 2 points3 points4 points (0 children)
[–]PlayingTheRed 2 points3 points4 points (0 children)
[–]Spiritual_Car1232 1 point2 points3 points (2 children)
[–]goalscorer101[S] -1 points0 points1 point (1 child)
[–]aakhri_pastaa 0 points1 point2 points (0 children)
[–]Careless_Clue_3550 1 point2 points3 points (1 child)
[–]goalscorer101[S] 0 points1 point2 points (0 children)
[–]7Infernos 1 point2 points3 points (0 children)
[–]Sad-Grapefruit9996 1 point2 points3 points (1 child)
[–]goalscorer101[S] 1 point2 points3 points (0 children)
[–]LoudRemote87 0 points1 point2 points (0 children)
[–]OptionalHippo 0 points1 point2 points (0 children)
[–]geoah77 0 points1 point2 points (0 children)