News for hackers. Stuff that matters.
Re:The Chinese Civil Examinations by fyresala on Wednesday December 07, 2022 @10:44AM (#33895641)
I've never understood why FAANGs are so fond of leetcode. Maybe they just get the headcounts and want a dumb and easy filter to hire some not terrible programmers. And that's part of the reason why the massive layoff is ongoing.

But STAR costs you little time to practice and communication skills will definitely pay off for a programmer.

Re:The Chinese Civil Examinations by whimsicalism on Wednesday December 07, 2022 @11:06AM (#33895971)
STAR is what you do when you want to hire professional talkers.

Leetcode is not the only way to hire professional builders, but is much better than STAR.

Re:The Chinese Civil Examinations by ggambetta on Wednesday December 07, 2022 @01:00PM (#33897717)
I was surprised by the kind of things people openly admit to during STAR interviews. I don't enjoy doing them but they've surfaced enough red flags from candidates to save a previous employer a few bad hires.
Re:The Chinese Civil Examinations by throwaway973591 on Wednesday December 07, 2022 @05:31PM (#33901286)
I'd question whether it's really that effective. A dishonest candidate could craft a boring, safe scenario for a STAR interview question that paints them as an empathetic team-player, even if that's not how they've really acted in the past.

Meanwhile, a forthright, but flawed candidate who supplies real examples from their past they regret, but would like to improve on, would look like an iffy hire.

Re:The Chinese Civil Examinations by woooooo on Wednesday December 07, 2022 @11:49AM (#33896655)
Leetcode is the only thing that scales consistently.

At small companies, a senior engineer can ask about past projects and get a sense of whether the candidate was a meaningful contributor or just along for the ride, but that's subjective and inconsistent when you have thousands of seniors.

Re:The Chinese Civil Examinations by Der_Einzige on Wednesday December 07, 2022 @01:18PM (#33897951)
Leetcode is dead, and it just doesn't know it yet. High quality LLMs killed it. Either proctor, in person onsite, or your hire likely cheated.

Leetcode can't die fast enough.

Re:The Chinese Civil Examinations by whimsicalism on Wednesday December 07, 2022 @01:23PM (#33898018)
? Leetcode interviews are "proctored"
Re:The Chinese Civil Examinations by Der_Einzige on Wednesday December 07, 2022 @01:51PM (#33898467)
Obviously not well enough to stop cheaters.

I unironically refuse to go on video for my interviews because of my "lack of webcam" (which is true for my desktop). Literally never had a single interviewer stop due to it, and I've virtual onsite interviewed at most of the FAANGs.

What I mean by proctoring is really intense, invasive shit.

Re:The Chinese Civil Examinations by OkayPhysicist on Wednesday December 07, 2022 @08:52PM (#33903091)
Leetcode exercises are pretty effective at weeding out incompetents. If they have a false positive rate, that's fine, you've got plenty of applicants. If they weed out some of the best that's also fine, because the number one concern when hiring is to find someone competent enough that they don't become an embarrassment to anyone involved.

Real world business decisions are dramatically less optimized than people imagine they are.

Re:The Chinese Civil Examinations by ghaff on Wednesday December 07, 2022 @01:01PM (#33897723)
Like the SAT, it probably does a reasonable job of providing a repeatable/scalable floor for skills that are a proxy for, if generally not the same as, what's needed for the job. And, like the SAT, the effort to prepare for the test is externalized.
Re:The Chinese Civil Examinations by BurningFrog on Wednesday December 07, 2022 @09:31PM (#33903361)
> I've never understood why FAANGs are so fond of leetcode

Is part of it the recent frenzy to avoid bias?

If you can't take into account how smart or personable the candidate "felt", maybe leetcode is what you're left with?

Re:The Chinese Civil Examinations by aswanson on Wednesday December 07, 2022 @06:26PM (#33901858)
OpenAI chat could probably pass leetcode.
Re:The Chinese Civil Examinations by fragmede on Wednesday December 07, 2022 @06:53PM (#33902118)
It can pass easy leetcodes. Here's a transcript of it solving an easy leetcode problem, and I also asked it for additional test cases.

https://pastebin.com/BpdcuWEM

There was another problem I tried where it gave an almost correct answer. Fixing the answer from then was probably faster than if I had to do from scratch.

Re:The Chinese Civil Examinations by fragmede on Wednesday December 07, 2022 @10:45PM (#33903906)
Of course, the other thing is that there's a ton of effort that goes into writing that question so well. I think if jira tickets were that well written, I'd be able to go much faster too.
Re:The Chinese Civil Examinations by fragmede on Wednesday December 07, 2022 @09:52PM (#33903522)
Past the edit window; https://leetcode.com/problems/two-sum/ is the problem I fed it.
Re:The Chinese Civil Examinations by MaximumYComb on Wednesday December 07, 2022 @07:40PM (#33902548)
That is O(n^2), when I believe it could have been O(n.log(n)).