News for hackers. Stuff that matters.
Re:Getting a job at Apple without going to college or doing ... by dkdbejwi383 on Thursday August 17, 2023 @05:20AM (#37159161)
It also doesn't resemble "real" work with regards to gathering requirements, clarifying ambiguity, weighing up trade-offs, making sure code is clear, etc. It tends to be a rote regurgitation exercise.
Re:Getting a job at Apple without going to college or doing ... by photon_lines on Thursday August 17, 2023 @05:40AM (#37159303)
LeetCode has no correlation with great software development. Great development is more about paying attention to the end users, having an eye for usability and design and great communication & the ability to execute. The current LeetCode churning explains why Google hasn't produced anything worth using since Brin & Page checked out and why so much of software today is absolute garbage - but it is what it is I suppose. I suppose its better to screen for IQ and desparation than you know...people who love developing great software. Let them keep doing what they're doing while treating their own people like disposable garbage during hard times (like Google & Meta just did) and we'll see what they'll churn out over the next decade or so (I'm not expecting anything from either of these companies).
Re:Getting a job at Apple without going to college or doing ... by josephg on Thursday August 17, 2023 @01:49PM (#37165503)
> LeetCode has no correlation with great software development. Great development is more about paying attention to the end users

You can’t make blanket statements about software like that. Our field is way too varied.

For example, if you’re doing high frequency trading, then performance absolutely 100% matters. And knowing your data structures and algorithms backwards is part of that. On the other hand, if you’re building the website at a large company, the hard part of your job may be interfacing with the rest of the business. So networking and navigating corporate politics will be an incredibly important part of your job. And if you’re on a small team making a product for consumers, then your work will succeed or fail based on usability.

We could brainstorm dozens of other skills which might be important. Which of these skills matter the most depends entirely on the company and the role.

Re:Getting a job at Apple without going to college or doing ... by photon_lines on Thursday August 17, 2023 @08:20PM (#37170066)
I don't disagree with you and I agree with your take on understanding data structures and algorithms ... it is important, but making 80 to 90 percent of your recruitment process based on this and on playing games with quizzes and LeetCode is idiotic. There are lots of other factors that play a vitally important role in creating great software and most big companies do NOTHING to pay attention to these factors albeit I fully admit to this being hard to test for. That's why I offer every company I'm recruited into to do a paid (or free albeit open source) work sample test if they want to do so. Most don't take me up on this offer and I think its idiotic but it is what it is.
Re:Getting a job at Apple without going to college or doing ... by nonameiguess on Thursday August 17, 2023 @03:55PM (#37167087)
This isn't really fair. All of Android, the Go programming language, TensorFlow, MapReduce, Big Table, Kubernetes, V8, Chrome are all very good engineering, software that stands the test of time and is likely to remain in use for decades. It's not garbage. They're great at libraries, plumbing, infrastructure layer tooling that enables Internet scale.

What they aren't good at is consumer-facing web services with graphical frontends, at least since Gmail or so. Even there, businesses seem to like the G Suite.

Re:Getting a job at Apple without going to college or doing ... by photon_lines on Thursday August 17, 2023 @08:39PM (#37170196)
Google acquired the early android team and they were vital in making it succesful: https://www.androidauthority.com/google-android-acquisition-...

Chrome: hmm - was Chrome developed after Brin & Page left? I never realized this but OK you got me on that one if that indeed is the case.

Go: I liked it initially and I love the performance, but i don't necessarily love the language syntax and design.

The rest: mostly tools which make scaling Google's infrastructure easier. I don't count these as outstanding accomplishments but I suppose you may have had me here too (albeit the scope I was referring to mostly referred to regular ppl not infra teams but meh I suppose I'll give you this one as well).

Re:Getting a job at Apple without going to college or doing ... by robryan on Thursday August 17, 2023 @05:30AM (#37159240)
A lot of places will also do a desgin interview to cover this aspect of the job.
Re:Getting a job at Apple without going to college or doing ... by pavlov on Thursday August 17, 2023 @05:38AM (#37159288)
Which raises the question of why do the other kind of interview at all. I mean the leetcode nonsense whose end state is often a theatrical performance: “I’m pretending to invent this clever algorithm on the fly although I’ve practiced it for weeks”.

Is there any evidence that candidates who do well on design interviews but fumble on leetcode would be any worse at the actual job?

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)
Re:Getting a job at Apple without going to college or doing ... by porridgeandrice on Thursday August 17, 2023 @01:45PM (#37165463)
IME it's a test in which it is easy to grade many people in a way that it is really unlikely that two people end up with the same grade. That is what leetcode achieves and that is really the majority of the reason it is used. So it is just very convenient for hiring. In India, we have companies coming to hire students from colleges, and as the first filter, they give you three leetcode questions, and average the number of test cases you passed in each of them and rank you based on that. I spoke to one of the companies, they said that they had _very_ few people that had the same score, and it was easy to choose within those small sets by reading their resume/whatever.
Re:Getting a job at Apple without going to college or doing ... by yieldcrv on Thursday August 17, 2023 @05:24AM (#37159197)
> It tends to be a rote regurgitation exercise.

where there are much greater selective pressures in India and China to excel at this than there are in the US, raising this irrelevant bar to absurd territory if you value your time

Re:Getting a job at Apple without going to college or doing ... by slt2021 on Thursday August 17, 2023 @01:30PM (#37165255)
> gathering requirements, clarifying ambiguity, weighing up trade-offs, making sure code is clear

if you dont do that in leetcode interview - you will not make it, or you will be graded as junior/entry level engineer.

No senior engineer will be passed without doing what you described during the leetcode interview