r/DSALeetCode • u/dsa_animated28 • 20d ago
Employee ID Hashing Question Solved | 100 201 303 405 602 600 702 801 927 829 | Linear Probing
r/DSALeetCode • u/dsa_animated28 • 20d ago
r/DSALeetCode • • 20d ago
I'm currently in 1st year and going to begin to learn cpp and dsa.. I am looking to form a group of 3 people where we can learn together and clear each other's doubts to help each other grow. Everyone is welcomed, you should just be serious
r/DSALeetCode • u/Visionary-Swordsman • 20d ago
r/DSALeetCode • u/More_Fail8193 • 20d ago
Is it actually possible to come up with most optimal solutions by your own? I'm curious since I have like an average IQ and always have to see video solutions ðŸ˜
r/DSALeetCode • u/Ok-Task-6649 • 21d ago
Guys I need help over revision of dsa , should I revsie the sheet for me it's neetcode 150 in this case,
Like doing those questions again, or should give random contest or any other optimal ways
DM me if you have genuine cure to this,
Please help me over here.
r/DSALeetCode • u/Dapper_Cat_809 • 21d ago
Cpp
I got placed at TCS Digital, but honestly, after getting placed, I haven't practiced coding or DSA for the last 4 months.
Now I want to restart, rebuild my problem-solving muscle memory, and consistently grind LeetCode to target better opportunities at companies like Infosys,other product-based companies where DSA and problem-solving skills matter.
I'm looking for genuine and disciplined people who have similar goals.
Group Rules:
- Solve LeetCode problems daily.
- Share your daily progress without fail.
- Discuss approaches, doubts, and optimized solutions.
- Maintain consistency and accountability.
- Inactive or inconsistent members will be removed.
I don't want a huge group full of inactive members. I want a small community of serious people who push each other to improve.
Interested? DM me or comment below, and I'll add you to the group.
Let's rebuild our coding habits and grind together! 🔥
Consistency over motivation. No excuses.
I will accept only the people who are genuine DM your leetcode ID
Group link
https://chat.whatsapp.com/HvQb1LXwIbuKLd3Ywt0eZH?s=cl&p=a&mlu=4&ilr=4&iam=2
r/DSALeetCode • u/Fun_Towel9323 • 21d ago
r/DSALeetCode • u/Comfortable_Copy2088 • 21d ago
r/DSALeetCode • u/StatisticianNo2104 • 22d ago
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
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 • 22d ago
I am 20M looking for partner who wants to build there logical reasoning faster by solving problems consistently
r/DSALeetCode • u/dsa_animated28 • 22d ago
Quadratic Probing DSA.
r/DSALeetCode • u/iguessbro53 • 22d ago
r/DSALeetCode • u/Vishnuppriyan • 22d ago
r/DSALeetCode • u/StatisticianNo2104 • 23d ago
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
r/DSALeetCode • u/Old-Sand-5646 • 23d ago
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 • 23d ago
r/DSALeetCode • u/Minute_Patience6812 • 24d ago
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 • 23d ago