TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Better Way to Practice Leetcode?

1 点作者 josephrmartinez11 个月前
Do you have a method for practicing leetcode that you think is somehow... better? Or useful? Or interesting?<p>I find the gamification of the leetcode website distracting and not helpful. The solutions space seems noisy and crowded with influencer types.<p>I saw a presentation recently from a developer who made Anki cards for their leetcode problems. That gave them a better way to focus on actually practicing and reviewing the problems instead of optimizing for a &quot;daily streak&quot; or finishing as many problems as possible.<p>I&#x27;ve started working on problems in my IDE and writing my own tests at the same time. Curious if other people have found ways to improve their leetcode practice experience.

3 条评论

uejfiweun11 个月前
In my experience most technical interviews were done on whiteboards. Therefore, the best way for me to practice leetcode was to write out the solutions by hand, just like you would in an interview. It forces you to think ahead about the problem.<p>My strategy was to do 2-3 problems per day on pen and paper, and spend a maximum of 1 hour on each problem. Then, after that hour, check to make sure I got the optimal solution, and if I didn&#x27;t, then also copy that optimal solution down onto the paper, so it gets burned into my brain.<p>This strategy, applied over a long timeframe, was extremely successful for me.
mouse_11 个月前
If you don&#x27;t like gamification, the standard way is reading books and documentation, solving their practice problems, and taking notes on their solutions. Apply them to different scenarios. There is no easy way out, just gotta get cracking.
评论 #40907553 未加载
marssaxman11 个月前
I have never been able to distinguish a &quot;leetcode problem&quot; from an ordinary technical interview, so I have never done anything special to prepare for them. This seems to work out fine.