0

At what point during my studying would be most fitting to dabble into DSA?

I'm pushing through Python material here, and stuff begins to pile up without much substance. I've completed the introduction, going through Intermediate course, and it feels like i'd need somereference for structuring the code. Basically asking for advice here.

5th Jul 2024, 9:21 AM
Igor Matić
Igor Matić - avatar
5 Réponses
+ 2
you need data structures and algorithms everywhere in programming! you can start as soon as you get interested in them. (still, i would recommend to get a grasp of variables, loops, conditional statements, and maybe functions first.)
5th Jul 2024, 10:46 AM
Lisa
Lisa - avatar
+ 1
write own small code project – this will naturally force you to think about structure and documenting your code. with each project, you will get a clearer picture of program structures.
5th Jul 2024, 9:24 AM
Lisa
Lisa - avatar
+ 1
Lisa yeah, but there must be some set of general guidelines? Is there a "too late" or "too soon" moment to deal with structures?
5th Jul 2024, 9:44 AM
Igor Matić
Igor Matić - avatar
+ 1
I think "now" is the best. Most languages provide built in structures like array and list and that's where you should start from. Try to learn the builtin data structures first. In real life, you'll not be limited to array and list alone. There are stack, deque, tree, binary tree, queue, priority queue and graph. Tree, binary tree, stack and graph are always something beneficial to know at the early stage . There's no too late moment btw, but there's always that time that a fragment of your program should be implemented as a stack or tree, but you'll never think that's the problem because YOU ARE UNAWARE
5th Jul 2024, 4:08 PM
Mel