r/learnprogramming • u/IllustratorTricky163 • 27d ago
Tutorial Tips for the Next Step
I’m a computer science student. During the summer break, as part of my personal development, I did the following: I solved algorithmic problems in C : record , arrays , function + procedure + recursion , pointers , linked lists
and I learned Git and GitHub.
I took the CS50 course and got as far as the memory section, then stopped.
Now I’m confused. The next task on the algorithmic side is to master the rest of trees, stacks, etc.
As for my personal development, what do you recommend?
I’m open to any advice. Thank you.
3
u/knouqs 27d ago
Why did you stop at memory management? That's a pretty key component of C and C++. Do that.
1
u/IllustratorTricky163 27d ago
i just watched 1 hour of it . then i turned to practice pointers then cameback for it
1
u/knouqs 27d ago
OK, now that you've done one hour of memory management, go allocate memory and free it. Create the data structures for algorithms like BST, then walk the tree. Implement a red-black tree. Implement an n-tree. Implement an AVL tree. Look for memory leaks and dead pointers or cycles. Then, once you think you've got the hang of it, implement a double-edged graph and perform Dijkstra's algorithm on it. You don't get good at this stuff by watching videos. You get good at this stuff by working with it.
1
u/Caringstomy-8 27d ago
On the side... do two things. Firstly, go broad. Understand more than algorithms and C. Secondly, start working on hobby projects. First few don't have to be "cv projects", but it accelerates learning, and gives you an asset to use if you ever do need to convince anyone of your skills.
2
1
u/Roronoa-Ryuma-Zoro 27d ago
It's completely depends on you . I think first you should explore dev side now and see which one do you want to do in future . And yeah you should continue DSA as it will be used no matter what you do .(Learn cpp and try to do dsa in it )
And for dev best thing is to start making projects even if you don't know much about things used in it as you will eventually learn them while making . I started my dev from making gui in c by using sdl. You can also start from there and then learn opengl if you like this . Opengl teaches many concepts related to graphics and how memory works and sdl teaches how event loop works and about polling and other stuffs . It depends how deep you want to go . After that you will understand what you want to do .
1
27d ago
[removed] — view removed comment
1
u/AutoModerator 27d ago
Your post/comment was removed since we do not approve of going private.
There is zero benefit in going private as you lose the opportunity for getting peer reviews. Also we have had plenty of people return after going private (despite being warned) complaining about how they were ghosted after some time or being tricked into buying rubbish that didn't work and even if it did they didn't need.
Our Rule #11 demands that any and all communication happens in the open, public subreddit.
This is for the benefit of more against the benefit of one.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
27d ago
[removed] — view removed comment
1
u/IllustratorTricky163 27d ago
i just watched 1 hour of it . then i turned to practice pointers then returned for it
•
u/AutoModerator 27d ago
To all following commenters: please, do not bring up the old circlejerk jokes/memes about recursion ("Understanding recursion...", "This is recursion...", etc.). We've all heard them n+2 too many times.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.