r/leetcode • u/JustIntegrateIt • Mar 17 '24
Best course for data structures and algorithms?
Hi, I am looking for a comprehensive course on data structures and algorithms. I'm familiar with all of the basics (i.e., I know what DP is, I know what BFS/DFS and trees are, I use dictionaries/linked lists/arrays often as a data scientist) but am not great at implementing more complex algorithms and solving LeetCode-style questions.
I've seen LeetCode's DS&A paid course thrown around here, along with the Take U Forward course (https://takeuforward.org/strivers-a2z-dsa-course/strivers-a2z-dsa-course-sheet-2/) and the NeetCode course/NeetCode 150. I do not mind spending money on any of these resources -- I just want the resource to be comprehensive. LeetCode's course seems solid (again, ignore the price); the Take U Forward course seems OK but there is no obvious way to see Python solutions for any of the problems, which makes my life unnecessarily hard. NeetCode's DS&A course seems more superficial than LeetCode's. Anything I'm missing? Thank you!
21
u/IndependentTeach9008 Mar 12 '25 edited Apr 19 '25
For any companies interview ,coding rounds are there and you should know Data structures and Algorithms. You know programming, so start practicing with basic problems, focusing on Arrays, linked lists, stacks, searching, and sorting. HackerRank is good for beginners, solving simple problem(mostly Easy) sets and understanding complexity analysis.
Look for structured courses. The Zero to Mastery course is a good option for interview preparation, but it mostly focuses on tough questions. Go with the course that provides good theoretical knowledge and covers problem-solving exercises. You cant solve millions of questions in Leetcode but if you focus on learning different techniques of Data Structures and Algorithms and only focus problems based on it. Then you will solve even new problems in interviews which you never say before.
YouTube Playlists: video based preparation content , Before jumping into courses i followed below youtubers , Bhaiya and Didi :) , its good for kickstart
Practice Platforms:
Just be consistent, at the start, you feel it's taking more than 1 hour to solve even single problems but as you solve similar kinds of questions (especially questions asked in interviews). You will see your timing is improving day by day with code quality.
20
u/carsmenlegend Aug 29 '25
During my preparation for data structures and algorithms, I learned that one part of preparation is basic data structures and algorithms and the other part of the preparation is Leetcode Medium/hard Problem level preparation for DSA. Logically, we are all preparing DSA according to Leetcode Medium/hard problem level because companies ask DSA questions in interviews. For a basic level of preparation, you can do geeksforGeeks and leetcode practice by yourself. Once you face the difficulty, then join courses that prepare you for LeetCode’s hard problems. This way, when you take those courses, you’ll learn more.
When it comes to courses, you already mentioned many of them. Neetcode is for self preration content. Before going to Striver’s sheet, I want to understand the techniques and patterns of solving various types of DSA questions.
I have joined Logicmojo Course for DSA . Focus is on interview preparation. It's good, concise, and structured way. But dont expect everything from courses, you need to practise at least 2 questions every day. My suggestion is to go to Leetcode, filter based on company and start solving easy to hard problems. This exercise helps me in my preparation. I uploaded all important questions to GitHub, also. DM me if you need it.
4
u/ss7xarcasm Guardian Mar 17 '24
Best course is to not run after any courses and learn as you solve the problems.
10
u/ATN5 Mar 18 '24
I got the Leetcode one and I wish I got it sooner haha. I maybe spent a month th and half studying and but realized nothing was sticking. But the leetcode guide has been really good imo
5
u/Tyreeed Mar 17 '24
Indian or not you can go for the DSA self paced by Geeksforgeeks. It’s cheap yet very structured and while teaching, Sandeep covers mostly LC questions or their variations.
4
u/creator_of_tech Mar 18 '24
I used Structy and feel like it was really great for providing structure and guidance, especially for the DS that are needed to solve common leetcode questions. Each topic and question is also explained very well and the information/techniques gradually stacks on top of each other.
3
u/eugcomax Mar 17 '24
https://cp-algorithms.com
3
u/metyaz Mar 18 '24
Abdul Bari - Youtube https://www.youtube.com/@abdul_bari It takes a while to get used to his accent but his content and learning style are brilliant.
1
u/Artistic_Kangaroo_11 Apr 30 '25
I was preparing from LeetCode platform, but random problem solving from LeetCode was not very beneficial for me as I was kind of mugging the solution. So I joined LogicMojo DSA course, as one of my friends suggested that it is good. Yeah, I also liked it as they teach me the techniques of solving DSA questions. Till now, I was not aware of these techniques — I just knew about sorting and searching in DSA. It helps me to focus on interview preparation. Instructors are teaching all topics in the live classes. I have solved 200 questions and till now I have cracked PayPal, Intuit, and Cisco interviews, and all the questions they asked in the interviews were from the questions discussed in the class. So it was a good experience to learn. Yes, along with that, you also need to practice on your own from LeetCode — mostly medium and hard problems.
1
u/RemarkableJury2252 Aug 21 '25
I used this, rest your choice.(I am not the seller btw)
https://vt.tiktok.com/ZSAMSEJ9m/
5
u/[deleted] Mar 17 '24
[removed] — view removed comment
1
u/[deleted] Sep 29 '24
[removed] — view removed comment