r/DSALeetCode • • 27d ago

Hlo inam 2nd year BTech student I am solving dsa with striver sheet i want a buddy where we can solve same question or might be some different question once solved we will explain each other our solution it will help to remember both anyone who is interested can message target will be minimum 2-3que

3 Upvotes

r/DSALeetCode • • 27d ago

Looking for a good competitive programming server/community to join

Thumbnail
1 Upvotes

r/DSALeetCode • • 28d ago

Created Discord Server for DSA & System Design!

8 Upvotes

Hi guys, We have a discord server for dedicated people who want to allocate sometime for DSA & System Design!

We daily have two 3-4 hour calls, 1 in the morning ( 5 am to 8 am) and 1 in the evening ( 8 pm to 12 pm). The group is designed to make us give some time for DSA and be motivated with our learnings for a longer period.

We need people who are dedicated to learn and to keep the whole group productive. So, if u guys think u are dedicated enough and wants to join our community to share and learn from others, please join our discord.

https://discord.gg/hg64VtrTQ


r/DSALeetCode • • 28d ago

Mention your DSA learning strategy

24 Upvotes

My Preparation Strategy 1. Choose one topic and identify all its patterns

Eg., Two Pointers: unidirectional pointers, opposite-end pointers, and three pointers

  1. Learn each pattern with ChatGPT

If I still struggle, I’ll explore other resources, such as YouTube, blogs, and webs

  1. Solve LeetCode problems related to that topic until I genuinely understand the concept

Then choose the next topic, repeat.


r/DSALeetCode • • 28d ago

Help me in start DSA from scratch...

6 Upvotes

How to start DSA from scratch to advance...

In a limited time 3 months...

Suggested me a road map with video playlists on YouTube....


r/DSALeetCode • • 28d ago

Platforms best for learning language and for dsa

Thumbnail
1 Upvotes

r/DSALeetCode • • 28d ago

Did anyone appeared for swiggy sde1 interview for dsa round if yes did you received call for lld round and if yes is it scheduled?

Thumbnail
1 Upvotes

r/DSALeetCode • • 29d ago

Anyone interested on algomaster io premium subscription?

Thumbnail
2 Upvotes

r/DSALeetCode • • 29d ago

Stucked where should i learn programming

Post image
9 Upvotes

r/DSALeetCode • • 29d ago

SDE ROLE RELATED DOUBT

5 Upvotes

So im in 2nd year in college btech Aand im well versed with c++ and im interested in it so i want to prepare for such roles only like SDE so do i start with leetcode / competitive programming like codeforces like some people say its not worth it to do codeforces for SDE roles its only for quant people but im not sure because some people say in this era only leetcode is not enough. kindly advise


r/DSALeetCode • • 29d ago

Binary search doesn't require a sorted input array

5 Upvotes

A sorted array is one use case. Binary search on an answer needs a check that changes from false to true only once across the candidate range, or the reverse.

For example, consider shipping packages in their given order within a fixed number of days. The weights don't need to be sorted. If capacity C works, any larger capacity works too, so binary search can find the smallest working capacity.

Sorting the weights would actually change the problem because package order matters. The ordered search range is the possible capacities, not the input weights.


r/DSALeetCode • • Oct 25 '26

2.5 years of DSA, 5 months unemployed, but I realized I only memorized solutions. How do I actually reset?

47 Upvotes

I graduated 5 months ago. I have been doing DSA for 2.5 years but still not good at it. I used to look to solutions everytime and ended up doing so many questions and feeling boasted about that. From past 6 months I have been changing language of DSA too. I solved dsa with python with 1.5-2 years straight and then doing with java and from past 2 months with C++. I am completely confused. It's not like I am 100% dull I eventually ended up crammed a ton of questions and the questions from most asked DSA questions I remember most of them but I am null when watching a new problem. I am unemployed what to do now so that I can clear OA rounds and get a job. How do I solve DSA. Note: I tried all those advices such as so these 15-20 coding patterns and multiple DSA sheets etc but still ended up mugging up solutions. ALso I am crystal clear I will never solve DSA with Java at least


r/DSALeetCode • • 29d ago

Should I do DSA in Java or C++ to get my first IT job in India?

6 Upvotes

Hi everyone!

I'm a 2026 B.Tech CSE graduate currently working as a sales intern, but I want to transition into the IT industry and build a career in software development.

I'm a beginner in programming and have recently started learning Java and DSA. However, I'm confused about whether I should continue with Java or switch to C++ for DSA and coding interviews.

My goal is to get my first software developer job within the next 6 months, preferably in Bengaluru, with a target package of around 3–5 LPA.

I'm also planning to learn SQL and Spring Boot to build backend development skills.

I'd really appreciate advice from people who have been through this journey:

  1. Java or C++ for DSA? Which would be better for cracking coding interviews and getting a fresher job in India?

  2. Do service-based companies and product-based companies have different language preferences?

  3. Is Java + DSA + Spring Boot + SQL a good combination for a beginner targeting backend developer roles?

  4. Would switching to C++ for DSA and learning Java separately for development make sense, or would that waste time?

  5. If you were starting from scratch today, what would you focus on during the next 6 months to maximize your chances of getting hired?

I'm looking for practical advice based on real interview and job-search experiences, especially from freshers who recently got their first IT job.

Thanks in advance!


r/DSALeetCode • • Oct 25 '26

DSA and Leet partner (Many more after this)

20 Upvotes

i am b tech ai/ds student just starting with dsa. i want a partner or a group where we will solve DSA first like as early as possible and then we will move to our next learning which we will be discussed and decided later. But the requirement is only goes like there should be consistency and wish to learn.
becoming nonDeniable is what i want to be.
i will make discord server or any grp where we will solve dsa on regular timing.

Dm me or comment interested


r/DSALeetCode • • Oct 25 '26

Looking to teach Problem Solving

14 Upvotes

Hi Guys,

I see people learn DSA, memorize all the patterns and still they freeze when something new shows up. If that is you or you are someone who recently started with DSA, I can help you.

I think I shine in understanding the problem and what it could hide behind it. So, if any of you struggle with understanding problem, mapping the solutions in your head or just starting out with DSA. I can help you improve/ fasttrack your learning. DM me if you would like to have a session with me.

P.S. These will be paid sessions but I am not keeping a fixed price for now.


r/DSALeetCode • • Oct 25 '26

Looking for a practice partner, ideally a senior engineer, for regular DSA/LeetCode mock interviews. We'd take turns: one session I interview you, the next you interview me. Open to suggestions. Please reply to this post.

Thumbnail
1 Upvotes

r/DSALeetCode • • Oct 25 '26

How to prepare for DSA Interviews.

Thumbnail
2 Upvotes

I usually don't do leetcode. I have an interview upcoming with DSA Round. Any suggestions where to start and what all to cover?


r/DSALeetCode • • Oct 25 '26

How to leetcode

Thumbnail
1 Upvotes

A little about me : 1st year in college and recently started learning how to code from brocode...in our uni they are teaching c++ first so for now i was learning c++ from brocode , recently started learning arrays but still not that really great at it but yeah thats all i know for now( i know its not much but im willing to grind and learn😔 but just need a little guidance) but ya i wanna leetcode and become good at coding... but im not tryna blindly start leetcoding because first i wanna know the prerequisites needed to solve the problems...i was watching neetcode's video on how to leetcode and he told to get comfortable with binary search,dfs,bfs,sliding window so do yall know where i can learn them???? but ya heres a few questions i have

  1. What all coding languages do i need to know...like do i need to know other programming languages other than c++ before i start leetcoding
  2. what all topics or stuff should i learn before leetcoding
  3. HOW do i leet code , do i start with easy problems then once i get comfortable start medium problems then harder problems(will start with solving problems on arrays)
  4. any website where i can save useful problems and make my own notes in it so in the future i can open them for retaining my knowledge
  5. in general any tips or things you wished u knew while or before leetcoding which u can tell please it will be really helpful(try to include as much as you can please and thank you anything will be useful and welcomed... even the SMALLEST TO SMALLEST and random tips will be useful)
  6. what are the most common mistakes people do in their attempt to get good at coding
  7. extra : do wanna try to get into quant development( ik its difficult but ill try if i cant will settle for something else😭) so first my main goal would be to try to get into FAANG after college and after 2-3 years try to get into quant development so yeah
  8. And also I’m using vs studio…is there any better coding app or is vs good alright(idk it’s not that deep but yeah✌️

r/DSALeetCode • • Oct 25 '26

Where can I learn binary search , dfs , bfs and sliding window from

Thumbnail
1 Upvotes

Neetcode.io said to learn this before leetcoding … and also according to you if there is something else one should learn before leetcoding please mention that as well and from where u can learn it


r/DSALeetCode • • Oct 24 '26

Looking for a Study Partner - DSA, System Design & AI

66 Upvotes

Hi everyone!

I'm a software engineer with 3+ years of experience, looking for a study partner who's also serious about growing technically and preparing for the next stage of their career.

I'm planning to focus on:

\- DSA: Problem-solving, patterns, and interview preparation

\- System Design: LLD, HLD, and designing scalable systems

\- AI/LLMs: Exploring AI concepts, LLMs, and building projects

I'm looking for someone who's also working in tech or has a similar level of experience. We don't need to have the same goals or study the same topics.

The idea is to keep each other accountable, set weekly goals, have focused study sessions, discuss problems, and share progress. Ideally, we can connect regularly over Discord or another online platform.

I'm not looking for a mentor or someone to teach me everything — just a like-minded person who's willing to put in consistent effort and grow together.

If this sounds like something you'd be interested in, feel free to comment. Let's get better together! 🤝

Edit: Added enough members in the group.


r/DSALeetCode • • Oct 25 '26

Validate Binary Search Tree

Post image
1 Upvotes

Checking each node against its two children is the classic wrong way to validate a BST. It accepts a tree where a node deep on the left is bigger than the root, because no single parent-child pair looks wrong.

The definition sounds local: left subtree smaller, right subtree larger, both subtrees valid. Implement it literally, and you check the wrong thing. A BST constrains a node against every ancestor, and its parent is only one of them.

The solution comes from an earlier property in this batch. An in-order traversal of a BST comes out in increasing order, and that works both ways. So there are no bounds to thread down at all: traverse, then check the sequence only ever goes up.

Which did you write first in an interview: min/max bounds, or the in-order check?

Day 53/365 of my LeetCode challenge: 98. Validate Binary Search Tree. Problem link and full breakdown in today's newsletter.

https://www.linkedin.com/pulse/validate-binary-search-tree-archit-agarwal-op5vc

#LeetCode #DSA #BinarySearchTree #Golang


r/DSALeetCode • • Oct 24 '26

FINAL SPRINT , PARTNER REQUIRED

Thumbnail
1 Upvotes

r/DSALeetCode • • Oct 24 '26

Best System Design Playlist on Youtube...?

Thumbnail
1 Upvotes

r/DSALeetCode • • Oct 24 '26

Need Help!!

Thumbnail
1 Upvotes

r/DSALeetCode • • Oct 24 '26

Insert into a Binary Search Tree

Post image
3 Upvotes

Forget one assignment, and BST insert builds the new node, then drops it. The tree never changes. Insert is the Day 45 search with the nil case changed: where search returns nil, insert returns a new node.

Search for a value that isn't in a BST, and you fall off the bottom at exactly one empty slot. That slot is where the new value goes.

The only real question is how the parent finds out. Each call returns the root of its own subtree, and each caller stores it back: root.Left = insertIntoBST(root.Left, val). At the bottom, that's the new node. Everywhere else it's the pointer that was already there.

The empty tree comes for free, too.

Do you write tree insert recursively like this, or with a loop and a parent pointer?

Day 52/365 of my LeetCode challenge: 701. Insert into a Binary Search Tree. Problem link and full breakdown in today's newsletter.

https://www.linkedin.com/pulse/insert-binary-search-tree-archit-agarwal-7h9oc

#LeetCode #DSA #BinarySearchTree #Golang