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.
5 odpowiedzi
+ 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.)
+ 2
https://www.sololearn.com/discuss/3263057/?ref=app
https://www.sololearn.com/discuss/3235040/?ref=app
https://www.sololearn.com/discuss/3203427/?ref=app
https://www.sololearn.com/discuss/3217586/?ref=app
https://www.sololearn.com/discuss/2949689/?ref=app
https://www.sololearn.com/discuss/2559249/?ref=app
https://www.sololearn.com/discuss/2595328/?ref=app
https://www.sololearn.com/discuss/3088263/?ref=app
https://www.sololearn.com/discuss/2306137/?ref=app
https://www.sololearn.com/discuss/2548506/?ref=app
+ 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.
+ 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?
+ 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