Live data from Hacker News

Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

algodrill.io

81–90 of 118 posts

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#81

What threw me off is the expectation that I use the same variable names and exact same code structure. There are many ways to implement effectively the same thing. I understand that it would be very challenging to implement a way to validate solutions in this way, but memorizing exact fragments of code feels like it's optimizing for the wrong thing.

Thanks for taking the time to try it and write this up.

You are right that the current check still leans too much toward my reference solution. It already ignores formatting and whitespace, but it is still quite literal about structure and identifiers, which nudges you toward writing my version instead of your own. There are many valid ways to express the same idea and I do not want to lock people into only mine.

Where I want to take it is two clear modes. One mode tracks the editorial solution for people who want to learn that exact version for an interview, while still allowing harmless changes like different variable names and small structural tweaks. Another mode is more flexible and is meant to accept your own code as long as it is doing the same job. Over time the checker should be able to recognise your solution and adapt its objectives and feedback to what you actually wrote, instead of pushing you into my template. It should care more about whether you applied the right logic under time pressure than whether you matched my phrasing.

There is also a small escape hatch already in the ui. If you completely blank or realise you have missed something, you can press the Stuck button to reveal the reference line and a short explanation, so you still move forward instead of getting blocked by one detail.

You are pushing exactly on the area I plan to invest in most. The first version is intentionally literal so the feedback is never vague, but the goal is for the checker to become more adaptive over time rather than rigid, so it can meet people where they are instead of forcing everyone through one exact solution.

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#82
post #61

Solid platform - clean and useful for algorithm practice. Quick suggestions: - GitHub OAuth would feel natural for devs. - Broaden language support (C#, TypeScript, Ruby). - Add dark/light mode toggle for comfort. Excited to see where it goes — thanks for building.

Another to add to the list: Allow flexible naming. For example, drilling the two sum problem requires the user name the hashmap prev_map, but I feel memorizing this sort of stuff detracts from the lesson.

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#83
post #61

Solid platform - clean and useful for algorithm practice. Quick suggestions: - GitHub OAuth would feel natural for devs. - Broaden language support (C#, TypeScript, Ruby). - Add dark/light mode toggle for comfort. Excited to see where it goes — thanks for building.

Thanks for the kind words, and for taking the time to write concrete suggestions.

GitHub sign in is on the way. Right now it is Google only, but I am adding GitHub so it feels more natural for devs.

For languages, the drills are Python first. Java, C++ and JavaScript will be fully supported by the end of this year across all problems.

The site is dark by default today. A proper light and dark toggle is planned so people can pick what is more comfortable for longer sessions.

Really appreciate you trying it this early and sharing where you would like it to go.

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#84
post #82
post #61

Solid platform - clean and useful for algorithm practice. Quick suggestions: - GitHub OAuth would feel natural for devs. - Broaden language support (C#, TypeScript, Ruby). - Add dark/light mode toggle for comfort. Excited to see where it goes — thanks for building.

Another to add to the list: Allow flexible naming. For example, drilling the two sum problem requires the user name the hashmap prev_map, but I feel memorizing this sort of stuff detracts from the lesson.

Good point, and that matches other feedback I am seeing.

You are right that in the current version the checker is still too literal about names and structure. In two sum for example it nudges you toward my map name instead of letting you use your own, which is not what I want to optimise for once you already know the idea.

The plan from here is to keep an editorial mode for people who want to follow the exact solution and add a more flexible mode that accepts your own names and structure as long as it is doing the same job. Over time the checker should recognise what you actually wrote and adapt its objectives and feedback to that, instead of forcing everyone into one naming scheme.

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#85
post #56

I understand the pragmatic reasons behind such a decision, but insisting that I sign up with Google (and only Google) was an unfortunate blocker. If anything, GitHub seems like a more obvious choice for such a site.

That is fair. I went with Google first because it let me ship the first version quickly, but for a tool aimed at developers GitHub and simple email sign in make much more sense.

I am working on both and plan to let people move their account once they are live if they would prefer not to use Google here.

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#87

Earlier quoted context omitted.

After hearing people complain about these fearsome "leetcode interviews" for what feels like a decade now, I have to wonder when I am finally going to encounter one. All I get are normal coding problems.

One man's leet code is another man's simple programming question which involves minimal domain knowledge... I've had candidates describe what I'd loosely call "warm-up" questions as leet code problems. Thing like finding the largest integer in an array or figuring out if a word is a palindrome.

I mean to be fair "figure out a word is a palindrome" is literally one of the first questions on leetcode. #9 https://leetcode.com/problemset/

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#89
post #46
post #36

sorry for asking: what does grinding LeetCode mean?

The phrase "grinding LeetCode" refers to a kind of unmentionable self-stimulus indulged in by people who want tech jobs money, but are bad at software engineering, and who want to work with other people who are bad at software engineering. It was most popular during zero interest rate phenomenon, when there were numerous investment scams based on startup companies that could have a very lucrative "exit" for those run…

What if I want to work at big tech? Does your message still apply, or if I want to work at big tech, it means I just want tech jobs money, and am bad at software engineering?

Re: Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

#90

Earlier quoted context omitted.

After hearing people complain about these fearsome "leetcode interviews" for what feels like a decade now, I have to wonder when I am finally going to encounter one. All I get are normal coding problems.

One man's leet code is another man's simple programming question which involves minimal domain knowledge... I've had candidates describe what I'd loosely call "warm-up" questions as leet code problems. Thing like finding the largest integer in an array or figuring out if a word is a palindrome.

When people say leet code they usually mean problems that are easy once you know the algorithm, and hard to impossible (in an interview) otherwise.

typical examples would be sorting algorithms or graph search problems, and some companies do indeed ask these; some big tech (the ones everyone studies for) may exclusively ask these. Thats imo largely because CS new grads are their primary pipeline.

Post reply on HN