News for hackers. Stuff that matters.
Re:Ask HN: Did preparing for LeetCode type of interviews imp... by markus_zhang on Friday May 28, 2021 @01:00PM (#27317821)
I see some comments saying that Leetcode is not related to real life questions. Just curious how do I get real life questions, or to be more realistic, how do I get simpified real life questions? Is CodeWar a better alternative?
Re:Ask HN: Did preparing for LeetCode type of interviews imp... by atomicity on Friday May 28, 2021 @03:59PM (#27319784)
A recently completed starter task for the project you are working on usually is a good idea. However, you need to make sure that the task is truly a starter task, not just a task that doesn't require much code. It is easy to create a task that requires too much time to do.

As for simplification, I think it's a trap and not worth thinking about. The problem with LeetCode is that it's the result of oversimplifying. People focused too much on a "hard" part of software engineering, that, over the years, they filtered out all of the other skills that matter: making sure that the new functionality makes sense, figuring out how to make code testable, reading other people's code, already knowing existing protocols, making progress even if you don't know everything, knowing when the quality isn't good enough, and asking good questions.

Re:Ask HN: Did preparing for LeetCode type of interviews imp... by closeparen on Friday May 28, 2021 @01:13PM (#27318008)
Build something you want to use.
Re:Ask HN: Did preparing for LeetCode type of interviews imp... by markus_zhang on Friday May 28, 2021 @01:23PM (#27318127)
Thanks, this is a sound suggestion.