News for hackers. Stuff that matters.
Re:Getting a job at Apple without going to college or doing ... by foldr on Thursday August 17, 2023 @07:40AM (#37160106)
I think a fair number of Leetcode 'medium' problems are reasonable as augmented versions of FizzBuzz. In most cases, someone who can code should at least be able to write a brute force solution to one of these problems and explain why their brute force solution is slow. Where I think Leetcode-style questions become problematic is when they're used as test of whether someone can invent and implement a clever algorithm under time pressure. Unless you're hiring someone to do specifically that, I think the process is then of limited value.

Also, some Leetcode problems just have unnecessarily unfriendly descriptions. Like for example this one, which is quite simple to implement, but which has an unnecessarily obscure problem description: https://leetcode.com/problems/count-and-say/

Re:Getting a job at Apple without going to college or doing ... by slt2021 on Thursday August 17, 2023 @02:47PM (#37166237)
some companies/teams use leetcode hard level problems to specifically select for ACM ICPC level talent to solve their particular problems, writing very tight compute kernels in constrained environment and unbounded input