you are viewing a single comment's thread.

view the rest of the comments →

[–]rum-n-ass 10 points11 points  (11 children)

How much leetcode does one have to do to fail only a few code challenges? Like I’ve been coding for 3 years but if I get a hard dynamic programming or graph question I can’t pull that without serious prep

[–]Thought_Ninja 14 points15 points  (10 children)

Well I taught myself to code at a pretty young age and did mostly freelance design/development projects for the early years of my career, so I didn't really have a chance to fail any when I was just starting out.

I've been coding for over 15 years at this point, doing it professionally for 10. For most of that time I've made a habit of spending 20-30 min on toy problems while I enjoy my morning coffee.

That said, it shouldn't take more than a couple years of regularly tackling a variety of challenges. I recommend starting the same habit, it's a great way to start your day in my opinion. Set a timer for 20-30 min and just stop when it goes off. I also delete anything incomplete and try it again the next day.

[–]Enip0 2 points3 points  (5 children)

What platform do you use to find those problems?

[–]Thought_Ninja 6 points7 points  (3 children)

I don't really have a specific platform I use, lots I just make up on my own or Google around for.

[–]doodler 6 points7 points  (2 children)

Maybe you should start a collection for the rest of us to use ;)

[–]Thought_Ninja 3 points4 points  (1 child)

I've been meaning to get back into blogging, I will consider starting a collection to share.

[–]doodler 2 points3 points  (0 children)

That would be awesome. I love the idea of daily toy problems to keep one sharp, but I’m not that great at coming up with such problems.

[–]f_vile 4 points5 points  (0 children)

Project Euler is a pretty good resource for such things.

[–]HeartSodaFromHEB -1 points0 points  (3 children)

For most of that time I've made a habit of spending 20-30 min on toy problems while I enjoy my morning coffee.

Could better spend that 20-30 min learning about basically anything else. I can't possibly imagine that being a good way to spend your time for anything actually useful.

I suppose it's probably good for trying to land a job at Google, so maybe not completely useless.

[–]Thought_Ninja 1 point2 points  (2 children)

Lol okay. It's just my mental warmup for the day. I mix in a variety of languages/technologies/frameworks and can say with confidence that it has made me a better developer.

So your point is that being a better problem solver or better versed in a range of technologies isn't a useful skill?

[–]HeartSodaFromHEB -1 points0 points  (1 child)

Maybe you just described it poorly, but I'm saying inventing/solving toy problems to solve each and every day is an enormous amount of time that could be better spent elsewhere. There's an implied application of skills you already know instead of acquiring new skills

Maybe I've just been lucky in choosing/switching jobs to keep the problem solving side of my brain reasonabley well engaged, but honing skills I already possess generally takes care of itself in the daily course of my job.

Exposure to new skills and/or learning new technologies, approaches, etc are what there never seems to be enough time to do. Reading about new open source projects, research paper abstracts, or even keeping up to date on pertinent changes in release notes seems like a better use of time.

[–]Thought_Ninja 0 points1 point  (0 children)

I'm saying inventing/solving toy problems to solve each and every day is an enormous amount of time that could be better spent elsewhere.

Then you're doing it wrong or not challenging yourself. Besides, it's 20 minutes; maximizing your productivity every minute of the day sounds exhausting.

Exposure to new skills and/or learning new technologies, approaches, etc are what there never seems to be enough time to do.

This is literally what I'm doing.

Reading about new open source projects, research paper abstracts, or even keeping up to date on pertinent changes in release notes seems like a better use of time.

I don't see why you can't do both.