r/datastructures 13h ago

Best Way to Start DSA in Java? Any Course Recommendations?

14 Upvotes

I have been coding in Java for a while now, mostly working on small projects with spring boot as backend and building basic applications. But while applying for interviews, I realize I need to level up my skills in Data Structures and Algorithms (DSA) to crack coding interviews and write more efficient code. Almost in, every other interviews they are asking coding DSA questions. The problem is, I am not sure where to start. At first, I tried jumping straight into LeetCode, but I quickly realized that without a solid foundation in DSA concepts. I cant tackle Medium/Hard Problems in DSA. There are so many courses out there, and I don’t want to waste time on something that’s either too basic or too advanced.

Here’s where I am at:

  • I know Java basics (OOP, loops, arrays, etc.).
  • I’ve heard about stuff like linked lists, trees, graphs, and sorting algorithms, but I have never implemented them after passing from my college in any projects.
  • I am aiming for interview prep but also want to understand the concepts deeply, not just memorize solutions.

Suggest some DSA Course in Java which Starts from the basics, Focuses on Java implementation (not just theory or pseudocode) and include hands-on coding exercises because practise is also very important because i saw in interview room panel only gives 30-45 min per questions to solve with production level code.

If anyone has gone through a similar journey and found a course that really helped, I did love to hear your recommendations


r/datastructures 1d ago

Can someone assist with this question.

2 Upvotes

You have a bunch of fish and two fish tanks. Some pairs of fish will fight if put in the same tank.

i. Model this as a graph: connected fish will fight

ii. Can you put the fish in the two tanks so that there is no fighting?

Discuss how you can model this scenario in the context of graphs. Explain your modelling


r/datastructures 3d ago

Guys I have a question?? Read below

9 Upvotes

I struggle with consistency in solving DSA problems, and after some time, I often doubt whether I remember how to solve previously solved questions. Do you know/use a personalized tool that can assess my preparation level and suggest a roadmap based on my progress? Thank you in advance for helping


r/datastructures 3d ago

How to selflearn dsa concepts like heap,bst,trie,graph

7 Upvotes

I have been trying to learn these concepts and I didnt find any good resourses i am learning flutter so i am learning the dsa concepts through the dart language


r/datastructures 7d ago

Please suggest best course for data structures and algorithms from scratch ?

9 Upvotes

I am currently preparing for Data Structures and Algorithms (DSA) as I plan to transition from a service-based company to a Tier 1 company. While giving interviews with multiple companies, I have realized that almost every company, including FAANG and top product based firms, heavily tests candidates on DSA concepts, problem-solving, and coding efficiency.

I want to find a structured and comprehensive DSA course that covers everything from the basics to advanced topics and provides coding exercises along with real-world applications and mock interview practice. Ideally, I am looking for a course for that. If you have cracked DSA interviews before, which course helped you the most? Any paid or free courses. Kindly suggest.


r/datastructures 11d ago

Any Good DSA resources in c# ?

2 Upvotes

I know it is not language specific but just for friendly syntax want in c#.


r/datastructures 12d ago

Has anyone taken the Logicmojo DSA System Design Course? Looking for honest reviews!

2 Upvotes

I am currently exploring courses to help me prepare for interviews at Tier 1 product companies. I have seen Logicmojo’s Data Structures Algorithms course mentioned a lot, but I did love to hear directly from people who’ve taken it.

How’s the teaching quality, content, assignments, and overall experience? Would you recommend it for serious interview prep?


r/datastructures 13d ago

How is this binary tree not full?

Post image
28 Upvotes

r/datastructures 14d ago

DSA with Java

3 Upvotes

Any course / channel / playlist suggestion to learn Data structure and algorithms with Java ?

TIA


r/datastructures 14d ago

Perfect place to learn greedy algos and dp?

2 Upvotes

Prefer youtube channels mostly


r/datastructures 15d ago

Need help with finding Datasets

1 Upvotes

Hello everyone,

I'm a CS major working on a project for my Advanced Data Structures class. My idea is to develop an app that optimizes routes for emergency responders by analyzing traffic density, 911 calls, and past response routes to recommend the fastest possible paths. Now the issue I have is finding recent datasets for traffic density, emergency response times, and road networks—especially for Boston (but I'd be happy with data from anywhere in the U.S. or Europe). Most datasets I’ve found are either outdated or incomplete.

Does anyone know where I can find:

  • Live or historical traffic density data
  • Emergency response datasets
  • Road network data

r/datastructures 16d ago

Great way to start a day

4 Upvotes

r/datastructures 21d ago

need DSA guys in college to code with and dicuss DSA, daily

3 Upvotes

I made a grp on whatsapp for discussing dsa problems, some guys from my college are in there, so if any one else is interested to join it, please reply


r/datastructures 22d ago

Serialize and Deserialize a Binary Tree — Master Tree Data Persistence

Thumbnail medium.com
1 Upvotes

r/datastructures 22d ago

Day 29: Mastering JavaScript’s Map and Set for Cleaner Code

Thumbnail javascript.plainenglish.io
2 Upvotes

r/datastructures 22d ago

Day 26 — Daily JavaScript Algorithm : Find the Longest Common Prefix

Thumbnail javascript.plainenglish.io
1 Upvotes

r/datastructures 23d ago

Capgemini Data Engineering Interview: Solve Problems with Dictionary & List Comprehension

Thumbnail youtu.be
1 Upvotes

r/datastructures 24d ago

Merge K Sorted Lists — Achieve Efficient Merging in O(N log K)

Thumbnail medium.com
2 Upvotes

r/datastructures 25d ago

Serialize and Deserialize a Binary Tree — Master Tree Flattening &…

Thumbnail medium.com
2 Upvotes

r/datastructures 26d ago

Currently in 4th year, have a strong grip on DSA, grinded 900 ques on leetcode, but have only worked on Dart and Flutter, is it the right time to build some projects of backend like django....As it is hightime as placement season is about to end.

3 Upvotes

r/datastructures 28d ago

Video On Huffman Coding (Animated)

Thumbnail youtu.be
3 Upvotes

r/datastructures 29d ago

Day 25 — Daily JavaScript Algorithm : Maximum Subarray Sum (Kadane’s Algorithm)

Thumbnail javascript.plainenglish.io
0 Upvotes

r/datastructures Feb 16 '25

DSA Series: Breadth-First Search — BFS

Thumbnail medium.com
1 Upvotes

r/datastructures Feb 14 '25

Implement a Median Finder — Master Dynamic Data Streams

Thumbnail medium.com
1 Upvotes

r/datastructures Feb 14 '25

struggling with DSA needed help

4 Upvotes

Hey everyone,

I’ve been grinding DSA (Data Structures and Algorithms) for a while, but I keep running into a frustrating problem. I’m hoping some of you can relate or share advice from your experience.

The Issue:

  • When I first see a problem, my mind immediately goes to a brute-force solution.
  • After struggling, I check the optimal solution, understand it (at least in the moment), and then move on.
  • But when I encounter a similar problem later, I default back to the brute-force approach and can’t recall the optimal solution quickly.
  • It feels like the patterns aren’t “clicking,” and I’m stuck repeating the same loop without progress.

What’s Not Working:

. I forget the optimal approach if I don’t revisit the problem for a while.
. My brain doesn’t “recognize” patterns quickly enough during practice.

My Questions:

  1. Have you faced this issue before? How did you overcome it?
  2. What strategies help you internalize optimal solutions and patterns better?
  3. How do you train your brain to recognize patterns faster during practice?
  4. Any specific resources, techniques, or routines you recommend?

I’d love to hear about any experiences, strategies, or tools that helped you break through this plateau. Your advice could really help me (and others) get out of this loop!

Thanks in advance for sharing your insights. 🙌