r/learnjava • u/[deleted] • May 04 '20
Data Structures and Algorithms courses for a non CS student?
I've been trying to reinforce my knowledge about basic Java having recently completed a project on hyperskill (after going through most of CS106A last summer), now i'm looking to get better and perhaps more "formal". I've tried the Princeton algorithms course on coursera and i just could not go on, It made me feel dumb as hell and that was literally the first assignement of the first week. Is there something more "outsider friendly"? or am I asking for the wrong thing all together? I've been told i should just "work on something you like" but i honestly don't have much project ideas nor do i feel ready to tackle the problems posed in lots of code challenges..
P.S: i prefer a well integrated MOOC course - a fine mix of lectures, readings to reinforce the lectures and a decent assignment system, i found it hard to just follow a book on my own
25
u/honk-thesou May 04 '20
Man, this is not only for you, it is for the 20 people a day that say that they felt/feel stupid while trying to learn something difficult.
That's learning. I'm just a first year CS student, and every single time i pick up a new concept, i feel just dumb, can't even grasp it. But trying day after day, leaving days to rest, of course, i understand everything i try to.
Please stop saying that you need easy things. I'm not saying that you should jump on difficult stuff without a base knowledge, but learning the syntax of a language is the easy part (in my short experience), then going a bit further away is gonna make us all feel like we can't do it. That's learning. It's always going to be difficult.
Sorry for leaving this in your thread, but I just see too many posts a day from people who need psychological help instead of programming help. Nothing personal with you. Just don't say you left something because it was difficult, because if you want to be good at anything, it 's gonna be f***ng difficult.
/rant over
I can't help you with the course, and regarding the problems in code challenges, the thing is that you have to keep tryiing. If you can't solve it, then look for the knowledge you need to solve it.
Good luck!
3
May 05 '20
Thanks, i always need a reminder of this whether it's about my hobbies or my actual studies, I feel like flipping out at my actual material but as you described it it starts slowly coming to me day by day till i mastered it, of course the difference being that i can't change my studies' curriculum but for my goal of learning how to program i feel tempted to make micro changes every now and then when things don't go 100% to plan. i'll try to keep an open mind going forward.
13
u/Apostle_1882 May 04 '20
That's learning. I'm just a first year CS student, and every single time i pick up a new concept, i feel just dumb, can't even grasp it. But trying day after day, leaving days to rest, of course, i understand everything i try to.
I needed to read this today.
-9
3
u/cantindajobinus May 04 '20
It’s normal buddy. When you are comfortable with doing something, you are not learning. You are just repeating something you already know. Anyway If you strongly feel that way, you might need to find something beginner friendly or junior level ds material to start. Push yourself is a good thing but don’t push yourself too hard otherwise you will get depressed and self-doubt. Good luck.
1
May 05 '20
Yeah in retrospect the first week wasn't bad, but the course lasted up to 11 weeks or so and I didn't wanna risk chugging through just to find myself completely grounded to a halt somewhere in the middle, thanks for the kind words and i hope you have a great day/night!
3
u/Alaharon123 May 04 '20
I don't know how you did 106A, but it's followed by 106B and 161. Note that 161 has a Coursera version (each individual course is free, don't buy the specialization) simply called Algorithms and that although on-campus it requires 103 and 109 beforehand, you can likely get away with not taking a Discrete Math course because the Coursera version covers necessary math as needed.
2
May 05 '20
Never knew about the coursera version! god their search engine sucks : /
I followed the 2008 web series, yeah yeah horribly outdated but in the end it turned out not super bad because the instructor rocks. I did hear about 106B but didn't wanna follow through because it was in C++ and i think it was a different instructor, Never heard of CS161 though but it seems more what i'm hoping for with hopefully a similar pacing as 106a. My university has this agreement with coursera that they apparently can finance some specializations we can get on the site, and it seems this specialization is supported? that seems like a plus. Thanks for the help!
2
u/platinumjoker May 05 '20
I haven’t tried it yet myself but doesn’t hyperskill also have a data structures and algorithms curriculum?
1
May 05 '20
sorta? their approach to learning is project based so you pick a project that would use data structures and algorithsm - say, a text pattern search tool that uses KMP - and from there you'd get algorithmics related material, but i think that their material isn't well explained at times honestly with frequent confusing typos here and there.
2
u/onlyforjazzmemes May 04 '20
Don't forget that at universities, you have to pass prerequisite courses before getting to your algorithms course. You likely don't have all the foundational stuff in place yet. Classes like discrete math help prepare you for algorithms courses; I'd look into that.
2
May 05 '20
my CS friends also had an algorithms course on their very first semester where they did sorting algorithms and some data structures so I thought i shouldn't be far behind in terms of prerequisites, but now that you mention it it does make sense. we have a Linear Algebra course in our own curriculum, but since studies are halted due to the quarantine it's been a while since i touched that subject, if i try to pick up where i've left (even if it's not quite "discrete math") would it be better than nothing? be hitting two birds in one stone if that's the case.
0
May 04 '20
[deleted]
1
u/onlyforjazzmemes May 04 '20
I guess it depends on the program. At my school you need discrete math, calc, and software engineering II before you can take it.
4
3
May 05 '20
This free course explains the theory and shows the full implementation of the most commonly used algorithms and data structures
https://liberoscarcelli.net/courses/programming/beginners/algorithms-and-data-structures/
I hope it helps
3
u/techbumLabs May 05 '20
Let me know if you need a mentor :) Happy to help! I have been a Tutor in the past and I constantly mentor others at work as a Software Engineer.
Satisfaction is in doing difficult things. Bang your head on single thing. Spend a week on a single thing. But eventually you will get it. Google a lot. This will have you find many perspectives explaining the concept. Just keep at it. Seek help from others.
2
u/funny_funny_business May 04 '20
The best course I ever had for this is Pluralsight’s algorithmics course. It’s only a few hours and goes through everything.
2
u/StateVsProps May 04 '20
I consistently heard great things about the Colt Steel class on this on udemy. I'm planning on doing it soon.
2
u/Nefarious_P_I_G May 05 '20
The Grokking algorithms book is a nice intro to algorithms. Illustrated, with good examples, python code and minimal maths.
2
May 05 '20
I found the Princeton course really dull.
The Stanford one was decent, more mathematical and hard, but Roughgarden explains stuff really well and is really enthusiastic.
And as they say on HN enthusiasm is worth 50 IQ points.
0
May 04 '20
[deleted]
3
u/transgre55ive May 04 '20
Appreciate the resource. Personally, I don't find this format to be very "outsider friendly" for one focal reason: there is a lot of information contained in the slides, but there isn't much explanation of the "hows" or "whys" behind that information.
8
u/ckini123 May 04 '20
I'm wrapping up the Spring 2018 version of Berkley's CS61B with Josh Hug and I thoroughly enjoy it. It has homeworks, projects, labs, and exams that can be submitted to an autograder to evaluate your correctness. It also has a textbook the professor wrote that I think is quite handy to reference.
It is reasonably difficult but that's also the nature of data structures and algorithms. I would take your time with whatever course you decide on and make sure you fully grasp everything before moving on.
Here's the link: https://sp18.datastructur.es/