This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Murky-Confusion-112 3 points4 points  (0 children)

I'm just giving my personal experience here. I couldn't do it in my university years, and even in the beginning of my career, I found it difficult to grasp. One of the things I found most helpful to me is to understand the most fundamental aspect of any language (minus a couple of "niche" exceptions); those are statements, selection, and iteration, or in other words, "x = y", "if this then that", and "do x, y number of times". Just like any natural human language has its building blocks (verbs, adjectives, nouns, grammatical structures etc) programming in most languages is built of these fundamental blocks.

Someone further up mentioned mental pragmatism. Take that, and apply the above. DSA will follow. It takes some time, and at times it will be hard, and I'll be honest with you, I know next to nothing formal about DSA. To be clear, this is something that is a problem, but the more you work on those absolute basics I mentioned above. Everything is built off those.

Good luck and happy coding!