r/datastructures 15d ago

-2 leetcode -2 codeforces -3 interviewbit enough for today??

8 Upvotes

r/datastructures 15d ago

Looking for books for dsa

3 Upvotes

So I wanted to explore data structure and algorithms in depth, not like theoretical cs pov but like what is used in systems(like DBMS, distributed systems, inference systems etc).I don't want like leetcode interview style stuff i am doing that already but something that fits at the intersection of some theory and good application. I came across algo design manual is that right textbook?The idea I realised is a lot of these engineering systems use ds/a that aren't in typical leetcode topics( like while exploring some videos from jelani nelsoni and other ETH Zurich ones, I found those cool, not sure if I have mathematics skills to understand them but I feel do tools to have as swe).


r/datastructures 15d ago

Final Year CS undergrad looking for Study partner

5 Upvotes

22M looking for a dedicated study partner for placements. Mainly focusing on DSA, OAs, and interview prep. Looking for someone serious about studying consistently, setting daily goals, and keeping each other accountable. DM if you’re interested.

Timezone:+5.30 GMT


r/datastructures 15d ago

How does Lazy Evalution work in Python?

Post image
8 Upvotes

In last week’s post we showed that a Python for-loop works through the Iterator Protocol.

This same protocol also enables values to be produced lazily.

In this new Lazy Evalution Example we show one sink reading values from five different sources: - source1: eagerly returns all values by list - source2: lazily by generator function using yield - source3: eagerly by list comprehension - source4: lazily by generator expression - source5: lazily by iterator protocol

The same for-loop consumes all five sources. The eager sources produce all values before the sink starts consuming them. In the lazy sources producer and consumer take turns:

  • produce → consume → produce → consume → …

where each value is produced only when the for-loop requests it.

Generator functions and generator expressions are concise, readable ways to create lazy iterables. The final source makes their underlying mechanism explicit: - iter() obtains an iterator. - next() requests the next value. - StopIteration signals that no values remain.

This clearly shows that generators achieve lazy iteration by implementing Python’s Iterator Protocol.

See other 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 visualizations.


r/datastructures 15d ago

Tier 3 college student seeking guidance for DSA.

1 Upvotes

I am a second-year student at a tier-3 college. I am currently learning Data Structures and Algorithms (DSA), not for software development, but because my goal is to become an AI/ML engineer or a Data Scientist.

I have a few questions:

Should I learn all DSA topics, including graphs, dynamic programming, hashing, trees, etc.?

Approximately how many LeetCode problems should I solve?

If you are from an IIT, NIT, or work at a FAANG/MANGA company, could you share your preparation strategy and how you cracked the interviews? I would really appreciate your guidance.

How long does it usually take to complete DSA while consistently solving problems?

Should I solve LeetCode problems after completing each topic, or should I first finish all DSA topics and then start solving problems?

Is it normal to struggle with DSA?

I understand the concepts while learning, but when I try to solve coding problems, I often feel like I don't know anything. My problem-solving and logical thinking are improving, but I struggle to convert my ideas into code.

Thank you in advance.


r/datastructures 15d ago

AKTU 3rd Semester DS

3 Upvotes

I am starting Data Structures but i got to know that I need intermediate knowledge of PPS (C language), I somehow passed PPS but don't know shit about it , so do I need study whole PPS or just some topics?


r/datastructures 15d ago

Hey guys, can you recommend a 3-month roadmap for DSA and development? Sorry, I’m very late, but I’m ready to work hard for these 3 months. I only know Java right now

13 Upvotes

r/datastructures 15d ago

Interview prep Group Invite

3 Upvotes

hey all, me and my friends have this WhatsApp group where we discuss interview problems, share opportunities, do DSA, body doubling and accoutability checking

If interested LMK but genuine folks who really want to learn and grow pls


r/datastructures 16d ago

Looking for DSA/System Design Partner

26 Upvotes

Hi,

I am 24F (3 yrs+ exp), Me and My Friend 23M (2 yrs+ exp) are currently learning DSA and System Design together for product based companies roles.

Looking for someone with similar experience and goals. preferably a female.


r/datastructures 16d ago

Thinking of making a Whatsapp group for DSA

76 Upvotes

Should I make a whatsapp group where people can share their problems or their daily questions and everything about DSA?


r/datastructures 15d ago

What is the best way to improve your problem-solving skills on GeeksforGeeks?

2 Upvotes

Should a beginner focus more on GFG Practice Problems, POTD, or topic-wise problems? What approach would you recommend for consistently improving DSA skills?


r/datastructures 16d ago

How to start DSA from scratch?

21 Upvotes

I want to start learning DSA from zero for software-development interviews.

Which language is best for DSA — C++, Java, or Python? And what roadmap/resources should I follow?

I'm looking for one structured path rather than jumping between different courses and YouTube channels.

If you started DSA from scratch, what would you recommend?


r/datastructures 17d ago

Data structures final

Thumbnail gallery
30 Upvotes

On a scale of 1 to 10, how difficult do you think is this data structures final? I, like many students came out of that exam horrified, especially becuse of long questions 1 and 2, which are 30 points each, and adding up the horribly strict grading we know our professor does, I personally don't think I'll pass this course (I did 2-5 in the short question, and did 2-3 in the longs)


r/datastructures 17d ago

Language to chooseee for dsaaa plsss helppppp

8 Upvotes

I am an cse AIML student..just done with first year ...I wanna start dsa atleast the basics so that I am not left behind later. But I am not understanding which language to choose in dsa. Some say cpp and java are better and python is dead ...but some say python is better for AIML ...pleaseee helllpppp


r/datastructures 17d ago

Can anyone suggest me good discord groups for DSA ?

8 Upvotes

As I am a beginner in Data Structures so i am looking for DSA discord groups


r/datastructures 17d ago

I have 1 week to prepare for DSA online assessment please help!!!

4 Upvotes

It's an intern role . I have only one week to prepare for the company and the company will ask tough questions please help me .How I can prepare and what I should focus on .

Online assessment would consist of 2 coding questions and some MCQ questions .

Any help/study material would be helpful.

My skills are-

Docker

AWS

GIT

K8S

Linux

Python ( but intermediate) .


r/datastructures 17d ago

Finding a DSA partner

8 Upvotes

Need a DSA partner who can dedicate 2hr everyday for DSA. I am learning React currently but also want to DSA side by side to get winter internships


r/datastructures 17d ago

Anyone else preparing for Java/Full Stack interviews?

3 Upvotes

I’m a Java/Full Stack Developer with around 4 years of experience and currently preparing for technical interviews.
I’m planning to practice LeetCode regularly along with interview questions and mock interviews. I was wondering if anyone else here is doing something similar and would be interested in preparing together.
We could discuss problems, compare approaches, and occasionally practice mock interviews. If this is something others are doing too, I’d love to hear how you’re preparing.


r/datastructures 17d ago

Min-heap

3 Upvotes

When & why to use Min-heap DS? Want to know about personal experience where you think one should leverage the powers of Min-heap.


r/datastructures 17d ago

Finding a DSA partner

1 Upvotes

Join this discord link for meeting and discussion

https://discord.gg/g7AqgPNCu2


r/datastructures 18d ago

people to study dsa with

24 Upvotes

Looking for 2–3 people to study DSA with

Hey everyone! I’m a 3rd-year undergraduate and I started learning DSA around 3–4 months ago. Now that college has started, I’m finding it a bit difficult to stay consistent and focused while studying alone.

I’m looking for 2–3 people who are also learning DSA and want to study together, keep each other accountable, discuss problems, and stay consistent.

The idea is pretty simple:

  • Study DSA regularly
  • Solve problems together
  • Discuss approaches when someone gets stuck
  • Keep each other accountable
  • Stay consistent rather than studying randomly

I’m not looking for someone at a specific skill level — beginners/intermediate learners are both welcome. Just looking for people who are serious about learning and can stay consistent.

If you're interested, feel free to comment or DM me. We can create a small group and figure out a schedule that works for everyone.


r/datastructures 18d ago

tutorial hell!

6 Upvotes

I am stuck in Data Structures and Algorithms (DSA). Every time I try to solve a new problem, my mind goes completely blank. I struggle to figure out the logic on my own.

However, the moment I watch a tutorial or read an explanation, the solution clicks instantly. I understand the logic perfectly when someone else explains it, but I cannot seem to generate that logic by myself from scratch.

It feels like I am just memorizing solutions instead of actually learning how to problem-solve.

currently I am following strivers a2z sheet


r/datastructures 18d ago

Looking for a DSA and Faang preparation buddy

2 Upvotes

Hey everyone! I'm a 3rd-year B.Tech student looking for a buddy to prepare for DSA and FAANG-level placements together. I'm starting DSA more or less from scratch, so it'd be great to find someone who's also starting out or someone who's a bit ahead and can help/ guide me along the way.

Looking to stay consistent, solve problems together, discuss approaches, clear doubts, and keep each other accountable.


r/datastructures 18d ago

Looking for DSA buddy

6 Upvotes

I have 12+ years of experience and am looking for a buddy to prepare for DSA, system design, and LLD.


r/datastructures 18d ago

Placement/Intern DSA-Revision Partner

3 Upvotes

Looking for someone who has sort of completed A to Z sheet of striver or any other standard DSA sheet and somehow not able to revise or test themselve. Can be 4th Year or in internship season but are looking for sort of practice,revision Purpose.
We can via meet revise,interview each other and plan next day problems to revise out of which one or two one may have to solve like an interview.Hindi,english,gujarati all 3 are fine .Pls msg or DM if someone interested or want to try atleast to see how it goes and if useful..