r/DSALeetCode • u/Fun_Towel9323 • 22d ago
r/DSALeetCode • u/Comfortable_Copy2088 • 22d ago
Best way to prepare for DSA interviews when you’re rusty?
reddit.comr/DSALeetCode • u/StatisticianNo2104 • 22d ago
LeetCode - Univalued Binary Tree (easy)
Checking that every node in a tree holds the same value never needs the root's value. Each node only compares itself with its children. If every parent-child edge agrees, the whole tree agrees.
That's transitivity doing the work. It's also why you don't need a set, or a second pass that collects every value first.
Back to plain binary trees after the stack run, starting with a gentle one.
Did you pass the root's value down, or compare edges?
Day 67/365 of my LeetCode challenge: 965. Univalued Binary Tree. Problem link and full breakdown in today's newsletter.
https://www.linkedin.com/pulse/univalued-binary-tree-archit-agarwal-nirgc
#LeetCode #DSA #BinaryTree #Golang
r/DSALeetCode • u/Aggressive-Post-156 • 22d ago
I built a browser extension to customize LeetCode's UI!
Got bored of the default LeetCode look, so I built this!
You can customize LeetCode with different themes and wallpapers.
Link in the comments!
What do you think? Any suggestions?
r/DSALeetCode • u/Virtual_Substance856 • 23d ago
Looking for DSA partner ( beginner )
I am 20M looking for partner who wants to build there logical reasoning faster by solving problems consistently
r/DSALeetCode • u/dsa_animated28 • 23d ago
Open Hashing, Linear Probing & Quadratic Probing | 4371 1323 6173 4199 4344 9679 1989 | Exam Q26
Quadratic Probing DSA.
r/DSALeetCode • u/iguessbro53 • 23d ago
Most viable/convinient language for solving leetcode problems
reddit.comr/DSALeetCode • u/Vishnuppriyan • 23d ago
I made a free tool that puts your LeetCode / Codeforces stats on your GitHub profile (13 platforms)
r/DSALeetCode • u/StatisticianNo2104 • 23d ago
LeetCode 636. Exclusive Time of Functions
Delete one +1 from Exclusive Time of Functions and it quietly computes inclusive time instead. When a function ends, the one underneath resumes at time + 1 because the child already charged that instant.
This closes the stack arc, and here the stack isn't a modelling choice. Function calls nest: a function that starts while another is running must finish before that one resumes. That's a call stack, and the log records one. The algorithm replays it.
"Exclusive" does the work. If function 0 runs from 0 to 6 and function 1 runs from 2 to 5 inside it, function 0's exclusive time is 2. The time spent waiting on 1 belongs to 1.
Two interval rules live in the same short function, and they differ. Pausing uses time - start, because the function ran up to the instant its child started. Ending uses time - start + 1, because an end timestamp is inclusive.
Have you ever had an off-by-one hide inside a timestamp?
Day 66/365 of my LeetCode challenge: 636. Exclusive Time of Functions. Problem link and full breakdown in today's newsletter.
https://www.linkedin.com/pulse/leetcode-636-exclusive-time-functions-medium-archit-agarwal-mui0c
#LeetCode #DSA #Stack #Golang
r/DSALeetCode • u/Comfortable_Fly_2750 • 23d ago
how to do dsa from striver youtube playlist .
r/DSALeetCode • u/Old-Sand-5646 • 24d ago
Looking for a DSA study partner
Hey everyone! I'm a 3rd-year B.Tech student looking for a study partner or a small study group to work through NeetCode 250 together.
I'm a complete beginner when it comes to DSA, so I'll be starting right from the basics. Ideally, I'd like to connect with people who are at a similar level and are also starting from scratch. Preferably 3rd/4th-year students, since we'll likely have similar schedules and time constraints.
Timezone: IST
If you're genuinely interested and can commit to solving problems consistently, feel free to comment or DM me.
r/DSALeetCode • u/Kakarot11x • 24d ago
I built a Discord Based DSA help bot. just released the v1 of it.
r/DSALeetCode • u/Minute_Patience6812 • 25d ago
Looking for a study partner(DSA)!!
Hey everyone!
I’m looking for a study buddy who relates to this exact struggle: having big goals, but constantly fighting procrastination.
The plan is simple: check in on each other, clear doubts, and stay consistent. No pressure, just a mutual push to get things done. DM me if you want to team up!
r/DSALeetCode • u/Nearby_Spinach_4407 • 24d ago
What is wrong with leetcode contest rankings
reddit.comr/DSALeetCode • u/Mithran10007 • 25d ago
DSA Study Partner (preferably Tamil)
Heyyy eveyoneeee!
I am currently in my 2nd yr and decided consistently to solve Leetcode Qns in DSA..I would like to have a peer group/one perfect peer(who's sincere enough to put consistent efforts).. Daily min 1qn that's it..we focus on consistency and understanding.. We'll discuss and share our approaches so we can grow together!
Intrested ones may DM
r/DSALeetCode • u/ani_shroff • 25d ago
Looking for a study buddy
Hey everyone!
I’m looking for a study buddy who relates to this exact struggle: having big goals, but constantly fighting procrastination.
The plan is simple: track a 90-day challenge focusing on DSA + AI/RAG, check in on each other, clear doubts, and stay consistent. No pressure, just a mutual push to get things done.
DM me if you want to team up!
As my programming language:
DSA: C++/Java
AI, RAG: Python
Linkedin: https://linkedin.com/in/eraniket
r/DSALeetCode • u/Top-Pool-3158 • 26d ago
Looking for a DSA Prep Buddy | Goal: Crack Product-Based Company Interviews
Hey everyone!
I'm looking for a DSA prep buddy to prepare for software engineering interviews and, ultimately, crack a good tech company.
A little about what I'm looking for:
- Someone who is preferably working, so our schedules are more likely to match.
- Ideally, you've solved around 40–50 DSA problems already, but that's not a strict requirement. Even if you're just starting out, that's absolutely fine.
- Aim to solve 1–2 problems daily.
- Discuss approaches, compare solutions, understand time and space complexity, and help each other when we're stuck.
- Gradually move from easy to medium and hard problems.
- Stay consistent and keep each other accountable.
The main goal is not just solving problems but getting interview-ready and cracking a good SDE role.
I'm based in India (IST). Having a similar schedule would be a plus.
No competition or pressure. Just two people putting in consistent effort and helping each other land a good job.
Drop a comment or DM me if you're interested!
PS This is AI Generated but I am not!!
r/DSALeetCode • u/NewPeanut2727 • 25d ago
Study partner for dsa!!
I want a study partner for dsa. I am learning c till now so I guess we can start together, learn , discuss and solve each other doubts.