News for hackers. Stuff that matters.
Re:Getting a job at Apple without going to college or doing ... by slt2021 on Thursday August 17, 2023 @01:33PM (#37165295)
Leetcode is simply testing whether you studied Computer Science, took Data Structures & Algorithms course, and read the CLR book on algos and practices it. Nothing else. This is really freshman level cs work. very simple.

people who cannot leetcode - a simple data structures & algorithms inteview - cannot understand runtime nuances of what they write.

This is how you end up with N+1 algorithms and exponential runtime.

For example look at all modern front-end in javascript - usually leetcode is more relaxed for front end, and you end up with ungodly gobbles of unnecessary loops inside loops wrapped in loops that traverse DOM for no good reason and freeze the browser.

it is the javascript people who import node libraries that contain 3 lines of code, instead of writing it properly

Re:Getting a job at Apple without going to college or doing ... by Clamchop on Thursday August 17, 2023 @03:50PM (#37167018)
Maybe. My experience is that a lot of the unprimed recall gets weak very quickly without practice. There's irony in testing for skills that a fresh graduate may do better at than someone with substantially more experience.

Primed recall can remain strong for many years, but leetcode often penalizes googling around to refresh your memory, even though that is what almost everyone should do before taking any further steps toward an implementation. Depending, it's often also the correct thing to do before choosing a library, the parameters to a function, code base organization, and lots of other details.

Of course, domain experts may be very strong in their specialty, but that's a special case with narrower scope.

I can hypothesize that testing for a "fast study" may have more predictive power. I have seen some interviews that are designed for this, leetcode adjacent but less antagonistic.

But anyway, I am spitballing, to be real with you.

Re:Getting a job at Apple without going to college or doing ... by remich on Thursday August 17, 2023 @06:46PM (#37169260)
You don't need to be good at leetcode to make a performant and well written frontend. You don't even need to know data structures, algorithms, or Big O notation.
Re:Getting a job at Apple without going to college or doing ... by iwsk on Friday August 18, 2023 @02:04AM (#37171835)
what do you mean by N+1 algorithms?
Re:Getting a job at Apple without going to college or doing ... by slt2021 on Friday August 18, 2023 @05:51AM (#37173406)