r/LeetcodeChallenge • • 2h ago

STREAK🔥🔥🔥 Day 1

1 Upvotes

Back to DSA after a long gap, starting the challenge from today until my placements. Solved LC 2124 today


r/LeetcodeChallenge • • 3h ago

DISCUSS LEETCODE WEEKLY 529 - B VIDEO SOLUTION

Thumbnail
youtu.be
1 Upvotes

r/LeetcodeChallenge • • 3h ago

STREAK🔥🔥🔥 LEETCODE WEEKLY 529 -D SOLUTION VIDEO

Thumbnail
youtu.be
1 Upvotes

Easiest explanation just sorting


r/LeetcodeChallenge • • 21h ago

DISCUSS What's wrong with my IQ

Thumbnail
gallery
16 Upvotes

Practicing DSA consistently for more than a 1year 8 months but still failing coding rounds. What am I doing wrong? and I genuinely don't know what I'm doing wrong.

The thing is, I can understand most problem statements, and I can usually predict which topic or pattern a problem belongs to. But when it comes to deriving the actual approach through logical reasoning and observations, I struggle a lot. I feel like this is the biggest gap in my problem-solving ability.

I've participated in almost 27 LeetCode contests, and I try to show up and practice almost every day. You can check my LeetCode profile and contest rating below. But despite all this , I've failed so many coding rounds during on-campus placements.

I haven't even managed to crack a single company through on-campus placements, failed in all coding assessments.

Sometimes I see people who have been practicing DSA for a similar amount of time, and they seem to develop much better problem-solving abilities. Some people can look at an unfamiliar problem and derive an approach almost effortlessly. I genuinely wonder why I can't do the same.

I understand that solving hundreds or even thousands of problems doesn't guarantee a job. But then what exactly should I be doing to improve? I don't want to keep solving problems for years without knowing whether I'm actually developing the skills required to clear interviews.

Is consistency alone not enough? Am I practicing incorrectly? Is there something fundamentally wrong with my way of thinking or approaching problems?

I'm genuinely looking for advice, especially from people who are really good at competitive programming and problem-solving.

If you have gone through a similar phase and eventually became good at deriving solutions independently, what changed your thinking? What did you do differently?

I'd really appreciate honest suggestions. At this point, I don't just want motivation to keep grinding. I want to understand what I'm doing wrong and how I can fix it.


r/LeetcodeChallenge • • 19h ago

DISCUSS I tested my DSA with leetcode

Post image
4 Upvotes

About me, so 1 year ago I was very much active in DSA. But after getting an internship and a job, I left everything. So today I tested myself.

Just to write this fu*king BFS, I took 25 minutes 😭.

Because of using AI heavily, I lost my coding skills.

Need to brush up again.


r/LeetcodeChallenge • • 16h ago

STREAK🔥🔥🔥 Day 22: tackled Next Permutation before heading out to travel

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 16h ago

DISCUSS Solved 200+ problems, but still struggle with hard problems even when they don't involve advanced topics.

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 23h ago

DISCUSS I Almost Gave Up on DSA. Then I Found These 14 Patterns.

Thumbnail
javarevisited.substack.com
1 Upvotes

r/LeetcodeChallenge • • 1d ago

STREAK🔥🔥🔥 LeetCode: 1046. Last Stone Weight

Post image
3 Upvotes

Go's container/heap only builds min-heaps. You get a max-heap by lying to it. Define Less as greater-than, and that one inverted comparison is the whole difference.

Why sorting is the wrong shape for Last Stone Weight: sort, take the two heaviest, smash them, put the remainder back in the right place. That's an insertion, O(n) every round.

The deeper mismatch is that sorting answers a question nobody asked. This problem never needs the third-heaviest stone. It needs the maximum, repeatedly, from a collection that keeps changing.

A heap keeps exactly one promise: the largest is at the root. Read its backing array left to right, and it looks close to random, and that's the point. Maintaining less is what makes it cheaper.

Did inverting Less feel wrong the first time you did it?

Day 78/365 of my LeetCode challenge: 1046. Last Stone Weight. Problem link and full breakdown in today's newsletter.

https://www.linkedin.com/pulse/leetcode-1046-last-stone-weight-easy-archit-agarwal-ummqc


r/LeetcodeChallenge • • 1d ago

STREAK🔥🔥🔥 Day 23: knocked out Rearrange Array Elements by Sign & called it an early night

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 1d ago

DISCUSS Built Duello to make computational thinking more interactive. Would love your feedback!

Thumbnail
reddit.com
0 Upvotes

r/LeetcodeChallenge • • 2d ago

STREAK🔥🔥🔥 Day 24: tackled Best Time to Buy and Sell Stock & the power of spaced repetition

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 2d ago

PLACEMENTS Need serious DSA partner till December..

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 3d ago

DISCUSS I love Leetcode(i dont)✌🏻

Post image
128 Upvotes

Some questions are so damn hard , this one is Q4046. Minimum Cost Path with atmost K turns , it is the first time i have encountered 4D Dijsktra😭😭 , first i was doing 2D Dijsktra with some modifications but this question sucks💔


r/LeetcodeChallenge • • 3d ago

DISCUSS Amazon SDE OA

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 3d ago

STREAK🔥🔥🔥 Day 25: revisited Kadane’s Algorithm — way simpler than back in 2nd year

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 4d ago

STREAK🔥🔥🔥 LeetCode: 703. Kth Largest Element in a Stream

Post image
2 Upvotes

You don't need to sort a stream to know its kth largest value. You need the top k, and only the weakest of them. The kth largest is always the smallest of the top k, so a min-heap capped at size k answers it.

Heaps start here. Each insert is O(log k), instead of re-sorting on every call.

The naive fix is obvious. The efficient one only asks you to notice that you're tracking a much smaller problem than the one you were handed.

Where have you kept a top-k in production code?

Day 77/365 of my LeetCode challenge: 703. Kth Largest Element in a Stream. Problem link and full breakdown in today's newsletter.

https://www.linkedin.com/pulse/leetcode-703-kth-largest-element-stream-archit-agarwal-c9vfc

#LeetCode #DSA #Heap #Golang


r/LeetcodeChallenge • • 4d ago

PLACEMENTS .

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 4d ago

PLACEMENTS .

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 4d ago

DISCUSS Share leetcode premium account

1 Upvotes

Looking for someone to share LC with

Update: There's a BF sale going on wih a yearly for 130$. Looking for around 4 people to share it


r/LeetcodeChallenge • • 4d ago

DISCUSS HackerRank Lagging between Practicing SQL

Thumbnail
gallery
3 Upvotes

This problem occurs every day when I prectice SQL on HackerRank

Does this happen with anybody or I am the only who's facing this problem maybe because of my laptop is old 😞 or maynot whatever cause is this it's very Irritating

Suppose you write a code and submit it but screen get frozen now what to doooo🥲🤧🙄🙄


r/LeetcodeChallenge • • 4d ago

STREAK🔥🔥🔥 Day 26: pushed through a tiring workday & mastered Moore’s Voting Algorithm

Thumbnail reddit.com
2 Upvotes

r/LeetcodeChallenge • • 5d ago

DISCUSS How Should a Beginner Start Preparing for ICPC? Looking for a Roadmap

Thumbnail reddit.com
2 Upvotes

r/LeetcodeChallenge • • 5d ago

DISCUSS Work hard cause there's light at the other end !!

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • 5d ago

STREAK🔥🔥🔥 Day 27: tackled Longest Subarray with Sum K — hit a wave of DSA nostalgia

Thumbnail reddit.com
1 Upvotes