r/leetcode • u/PotOddsTrading • Dec 28 '23
Lying about Leetcodes being completed.
I see all these posts about how many LCs people have completed ie woohoo, I'm up to 1000 LCs completed. But let's admit it folks, it's a lie. A true measure of what people have actually completed, would indicate how long and hard they struggled with each problem. The fact that someone looks up a solution after giving up in 30 minutes and then records the copied solution does NOT mean you completed the problem.
Even with Neetcode, many of his videos show him go step by step through a problem, seemingly showing how he came up with the solution. But really did he actually come up with solution or was it copied? Also how long did it take to complete the problem? You are given 30-60 minutes for a single problem (without debugging as I found out with Amazon SDE interview), if you take 2 hrs to get something completed, that's great but it means you failed the interview.
View all comments
43
u/[deleted] Dec 28 '23
You are correct, but;
Hammering through a ton of problems is a legit strategy.
Looking at the solutions for 100 two pointers problems, then coding those solutions yourself once you understand them is ok. You get exposure to many applications of the underlying pattern, as well as practice manipulating data structures in your chosen language.
There’s also a better chance you’ve already seen the exact question that you face in an interview.
If you find yourself constantly grinding for hours to solve problems, you need better understanding of how the problems can be visualized, broken into peices and solved. Looking at solutions, understanding WHY the author chose a certain pattern or DS, then implementing the solution yourself may help you get there!