News for hackers. Stuff that matters.
Re:A guide to learning algorithms through LeetCode by bcrosby95 on Sunday August 16, 2020 @06:24PM (#24181886)
> Personally, I've never met anyone who was good at Leetcode yet produced bad code in production. I'm sure there's someone out there who knows a guy who knows a guy who can somehow ace Leetcode but can't write an efficient website backend, but it's not the norm.

Weird. Ability to leetcode doesn't mean you know what is happening in e.g. an RDBMS. We've had people good at leetcode write a single query to delete hundreds of millions of records in a table with billions of records that was being constantly updated by the live website. Needless to say it didn't go over well. Ability to leetcode doesn't give you any knowledge that doing so might be a bad idea.

Re:A guide to learning algorithms through LeetCode by xfer on Sunday August 16, 2020 @06:46PM (#24182034)
You can learn how to use some function to call into a database and study its behaviour, if you can grind leetcode and solve problems.

It's a good enough filter, the alternative is either way more costly or way worse(if you have seen "interviewing" which are just thinly veiled nepotism).

Re:A guide to learning algorithms through LeetCode by triceratops on Sunday August 16, 2020 @09:55PM (#24183109)
> We've had people good at leetcode write a single query to delete hundreds of millions of records in a table with billions of records that was being constantly updated by the live website.

You didn't have anyone reviewing their code and mentoring them? No one reviewed their design before it went into production? If no, why not? If yes, why wasn't the problem caught then?

Re:A guide to learning algorithms through LeetCode by Xcelerate on Monday August 17, 2020 @01:25AM (#24184278)
> We've had people good at leetcode write a single query to delete hundreds of millions of records in a table with billions of records that was being constantly updated by the live website.

This says more about the ability of the other employees at the company than it does about the new junior employee.

Re:A guide to learning algorithms through LeetCode by lkschubert8 on Monday August 17, 2020 @10:15AM (#24187420)
Doesn't leetcode also have sql questions?