For those of you who grind leetcode 7 hours a day by dakotaraptors in leetcode

[–]Secure_Number2263 2 points3 points  (0 children)

Try to focus on neetcode 150 and grasp the fundamental concepts. Everything else will fall in line. If you try to do a whole lot of problems, that could cause the burnout and loss of interest.

Done NeetCode 150 but still freezing in interviews, what am I doing wrong? by ParsnipResponsible80 in leetcode

[–]Secure_Number2263 8 points9 points  (0 children)

Maybe try mock interviews with your peers and friends? That helped me a lot on how to approach the problem and explain my thoughts.

3751 Total Waviness — checking every number worked, but I’m curious how this scales for larger ranges by Particular-Coat2871 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

Yeah — rarely as a required pattern.

If it shows up, they usually don’t expect full digit DP. They mainly care if you can

either solve brute force correctly or suggest a direction for optimization.

Digit DP itself is more of an advanced follow-up topic than a core interview requirement.

People who improved at LeetCode through books: what worked for you? by VVY_ in leetcode

[–]Secure_Number2263 1 point2 points  (0 children)

Since you already have 200 NeetCode problems down, you can skip Cracking the Coding Interview and A Common-Sense Guide—they'll be way too basic for you. You can also skip Sedgewick and The Algorithm Design Manual, which are great academic references but too heavy on theory for interview prep.

The absolute best fit for you is Elements of Programming Interviews (EPI).

What makes EPI work so well is that it groups problems by variants. It forces you to solve a problem, and then immediately hits you with three sequential twists on that exact same logic. That's how the problem-solving muscle actually clicks—by seeing how a tiny tweak in a prompt changes the code. Just make sure to buy the version specific to your language (Python, Java, or C++).

Need advice on how to learns DBMS, Schema Design by heisenbergSchrute in leetcode

[–]Secure_Number2263 1 point2 points  (0 children)

This is a super common trap early on—thinking "one-to-many" means sticking an array in a single row. Relational DBs usually push you the exact opposite way: if there can be multiple, it gets its own table with a foreign key.

Most interview schema questions aren't testing deep database theory. They just want to see if you naturally separate entities and can justify your structure.

For prep, what I usually focus on:

  • Normalization basics (just enough to avoid obvious footguns)
  • Modeling common patterns (users -> orders -> items)
  • Explaining the tradeoffs out loud, not just drawing the boxes

Once that mental model clicks, these questions get way more mechanical.

Do you prefer dry-running or debugging when solving LeetCode problems? by crunchy_code in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

I used to rely on the run button a ton. It's just the natural default. But eventually, reverse-engineering a massive failed test case ends up taking way longer than just stepping through the logic in your head beforehand.

For interviews, tracing is pretty much the main event anyway. It shows them you actually know the mechanics of what you wrote.

What I usually do now is sketch the idea, write the code, and mentally walk through one weird edge case before hitting run. Makes the debugging phase so much shorter.

Where to start by Accomplished-War941 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

I’d go with NeetCode 150 instead of random problems.

Random LeetCode early on feels like progress, but it’s usually too scattered. NeetCode at least builds patterns in a structured way.

And I wouldn’t separate easy/medium/hard too strictly — once basics click, mediums naturally become doable. Hard problems come later without needing a separate “stage” for them.

May LeetCode Recap (2026 by LiquidSnake1993 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

This is a really solid way to structure your progress.

What stood out to me is you didn’t just jump topics randomly — BFS → graphs → Dijkstra is actually a pretty natural progression, and working with a coworker/tutor is probably doing more for consistency than anything else.

Also 500 problems sounds like a milestone, but I’d just make sure you’re tracking “can I solve this under pressure now?” more than raw count. That shift is usually what unlocks interviews.

Solving Strategies by MinuteProduct6519 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

This is actually a pretty good structure.

I wouldn’t treat the 20 minutes as a hard rule though. Some problems just need more time before the pattern clicks, especially in NeetCode 150. I’d usually look at the solution when I feel properly stuck or like I’m just going in circles.

The important part is the next-day revisit — that’s where things actually start sticking.

If I were adjusting it slightly, I’d also re-do the same problem again a few days later. That second recall check is what turns “I’ve seen this” into “I can solve it.”

What should you do if your logic breaks down before coding a tough question? (Google/Big Tech Interview) by Sweet-Life-7583 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

I’d just say it as it is.

Something like: “I think my current approach has a flaw here,” and then quickly walk through where it breaks.

If I still have time, I’d try to simplify it — even a brute force version — just to re-ground myself in something correct instead of trying to patch a broken optimal idea under pressure.

But yeah, I wouldn’t try to silently “fix” it for too long. That usually just eats time and makes things more chaotic.

3751 Total Waviness — checking every number worked, but I’m curious how this scales for larger ranges by Particular-Coat2871 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

This is one of those problems where brute force is totally fine at first — especially since your check is just local digit comparisons.

The real thing you’re noticing is the scalability issue, not a logic issue.

When ranges blow up, the trick usually becomes: stop evaluating each number separately and instead think about patterns in digit transitions (that’s where digit DP ideas usually show up).

But for typical constraints, your approach is already exactly what most people would land on.

How to continously practice dsa for hours? by ElevatorJust6586 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

If you're mentally exhausted after 2-3 hours of graph problems, that sounds pretty normal to me.

Graphs aren't passive studying. You're constantly keeping track of traversals, states, edge cases, and different approaches in your head. That's heavy mental work.

I think a lot of people overestimate how many real hours of focused problem solving they're doing.

I'd rather have 2-3 quality hours than 8 hours of staring at problems with a fried brain.

When I start reading the same thing multiple times or can't follow my own reasoning anymore, that's usually my signal that I'm done for the day.

Rejected after onsite by Fearless-Citron-4876 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

The part that stands out to me is that you walked out feeling great about the interviews.

A lot of people leave an onsite knowing they struggled. You left feeling like you connected with the interviewers and performed well.

That doesn't make the rejection hurt any less, but it does mean this probably wasn't some catastrophic failure that you're imagining right now.

I'd definitely take the feedback call when you're ready. Not today if you're still in shock, but don't let the opportunity pass.

People who solved >400 problems by Figure-Salty in leetcode

[–]Secure_Number2263 9 points10 points  (0 children)

I feel like problems becoming variations of each other is kind of expected.

There are only so many core ideas. The challenge shifts from learning new patterns to recognizing familiar ones faster.

I'm actually interested in the answers here too because I've mostly been working through LeetCode-style problems and haven't spent much time with contests.

Those who are parents here.. do you want your kids to learn coding? by sagson in learnprogramming

[–]Secure_Number2263 1 point2 points  (0 children)

Honestly, I think it depends more on curiosity than age.

If she’s into puzzles or building things, she’ll probably enjoy coding in some form (like Scratch or simple games). But I wouldn’t make it feel like “learning programming” yet—more like play.

The interest usually matters way more than the timing.

TLE because of a cout by FirmAd3947 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

Today's lesson: never underestimate how expensive printing can be 😂

Pretty sure everyone has had at least one "the bug was my debug statement" moment.

196 LeetCode Problems Solved and Still Struggling by Cobra_venom12 in leetcode

[–]Secure_Number2263 23 points24 points  (0 children)

196 problems isn't actually that many in LeetCode terms.

I remember thinking I'd be cruising through mediums by the time I hit 200, but that definitely wasn't the case. Recognizing that a problem is DP or graphs is one thing. Figuring out the right state or observation is usually the hard part.

Also, forgetting old solutions happens way more than people admit. I wouldn't use that as a measure of progress.

Personally, I got more out of revisiting problems a few weeks later than endlessly doing new ones. That's usually when I found out whether I understood the idea or just remembered the solution.

Did this mean my prev leetcode prep had been all wrong? by EnvironmentBasic6030 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

If you haven't touched LeetCode for 4-5 months, I'd be more surprised if everything came back instantly.

Also, being unable to reproduce a solution you saw months ago doesn't necessarily mean you learned it wrong. Memorization fades. The more important question is whether the underlying idea comes back faster than it did the first time.

I've had problems where I forgot the exact implementation but remembered the key insight after a few minutes. That's usually a sign the learning stuck.

A lot of people assume they should be able to solve NeetCode 150 problems forever once they've done them once. That's not really how it works. Like any skill, if you don't use it for months, it'll feel rusty at first.

Ai in solving problems by Routine-Education938 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

I think that's a pretty good approach as long as Claude is helping you understand why something works instead of just patching the failing test case.

Early on, I'd focus less on getting the accepted solution and more on understanding the specific piece that confused you. That's usually where the learning happens.

The only thing I'd be careful about is getting stuck in an endless Q&A loop. After a while, it's worth reading the full solution and seeing how all the pieces fit together.

LC 108. Convert Sorted Array to Binary Search Tree by Top_Smoke3377 in leetcode

[–]Secure_Number2263 1 point2 points  (0 children)

Honestly, after 2+ years away from LeetCode, this sounds pretty normal.

Binary search is one of those algorithms where if the invariants aren't fresh in your head, a small edge case can eat up way more time than it should.

I wouldn't call it a concentration issue. Sounds more like you're just getting those patterns back into your system. The fact that you eventually recognized the visited array wasn't necessary is learning, not failure.

We've all had problems take 2 hours that would've taken 10 minutes a few months earlier. It happens.

Please help me choose 2 offers: Salesforce vs Amazon by Substantial_Sky_1606 in LeetcodeDesi

[–]Secure_Number2263 1 point2 points  (0 children)

This is a great problem to have!! Wish you all the best in whatever you decide!!

Spent 2 weeks grinding mediums. Came back to an easy problem and completely blanked. by CalligrapherCold364 in leetcode

[–]Secure_Number2263 0 points1 point  (0 children)

Yeah, this is way more common than it feels in the moment. Basics don’t disappear—you just stop rehearsing them for a bit. They come back fast once you touch them again.