News for hackers. Stuff that matters.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by hcks on Tuesday October 17, 2023 @08:55AM (#37914188)
It’s just a proxy measure for IQ really. They could have handed out Ravens matrices and got better outcomes prediction.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by postalrat on Tuesday October 17, 2023 @09:28AM (#37914726)
Is memorization how we should measure IQ? If so then LLMs have already far surpassed humans.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by coffeebeqn on Tuesday October 17, 2023 @09:53AM (#37915067)
A LLM would do pretty/very well in a leetcode interview
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by pedrosorio on Tuesday October 17, 2023 @12:21PM (#37917510)
In a "have you memorized the code to solve this problem" interview? Probably.

In a "can you solve this new leetcode problem that just came out and is not in the training data"? Awful.

Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by postalrat on Tuesday October 17, 2023 @12:23PM (#37917536)
There are probably about 30 or so leetcode problems and then endless variations made for those 30 problems. The best people on leetcode practice and memorize.

If you want to see an example of a new problem check out https://news.ycombinator.com/item?id=37910297. You'd think if leetcode makes you good at solving problems then it should be doable any higher ranking leetcode programmer.

Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by pedrosorio on Tuesday October 17, 2023 @12:55PM (#37917992)
> There are probably about 30 or so leetcode problems and then endless variations made for those 30 problems. The best people on leetcode practice and memorize.

The comment I replied to claimed that "LLMs would do pretty well at leetcode interviews". OpenAIs own report [0] shows how GPT-4 fails miserably at medium/hard leetcode problems that are not in the training data.

[0] https://cdn.openai.com/papers/gpt-4.pdf

Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by postalrat on Wednesday October 18, 2023 @03:42PM (#37933738)
I wouldn't consider doing 31/41 easy problems, 21/80 of medium problems, and 3/45 of hard problems a failure. GPT-4 wasn't built to solve these problems but can still do 3 of 45 hard problems. Hell I don't know if you sat down 45 random programmers if 3 of them could solve those 3 problems GPT-4 was able to do, and nobody could solve them in the time it took GPT-4.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by anthonypasq on Tuesday October 17, 2023 @09:14AM (#37914474)
I assure you, they would if they could, but its illegal.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by galangalalgol on Tuesday October 17, 2023 @09:22AM (#37914610)
A quick search indicates that it is not illegal in the US as a whole, but maybe California?
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by alexb_ on Tuesday October 17, 2023 @11:16AM (#37916479)
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by disgruntledphd2 on Tuesday October 17, 2023 @11:48AM (#37916954)
What's illegal is IQ/ability tests having disparate impact on particular racial groups. You can only use them if you can justify how they're related to the job (which is much easier for algorithms stuff in SE roles).
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by guappa on Tuesday October 17, 2023 @09:08AM (#37914380)
You can also train for IQ tests.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by mywittyname on Tuesday October 17, 2023 @03:54PM (#37920671)
People misunderstand the reason for this. Test takers can improve, but only up to a point, and only because they getting comfortable with the test format, not because they're getting any smarter. Solution: give the candidates a few practice tests first.

This extends to every test though. My ACT score jumped massively on my second try. The reason: I didn't realize how much little time they gave test-takers, so I ran out of time on some portions. The second time around, I rushed through as fast as possible.

Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by guappa on Wednesday October 18, 2023 @05:50AM (#37926635)
You're certainly not getting smarter. It's the test format that is not very reliable.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by gedy on Tuesday October 17, 2023 @09:56AM (#37915110)
Hell I wish they would tbh. I have a decent IQ (140), but can't (or just unwilling to) grind leet code
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by HerculePoirot on Tuesday October 17, 2023 @10:49AM (#37916000)
An IQ score of 140 is considered near-genius or genius level and places you in the top 0.25% (99.75 percentile) of the population.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by gedy on Tuesday October 17, 2023 @11:22AM (#37916565)
Actually 137 if test was accurate, I still don't do well with leet code whiteboarding though, shrugs.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by pedrosorio on Tuesday October 17, 2023 @12:20PM (#37917496)
Maybe you just need to find something you enjoy doing, programming might not be "it"?

Or do you do well solving the problems on your own and just have trouble when being interviewed?

Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by gedy on Tuesday October 17, 2023 @01:00PM (#37918071)
The latter, take home projects I do well on (projects, not HackerRank quizzes)
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by mywittyname on Tuesday October 17, 2023 @03:58PM (#37920713)
That's a believable score around here. There are over 8 million Americans with that score (assuming OP is American) and this place probably has a disproportionate number of high-IQ people posting.
Re:Interviews in the Age of AI: Ditch Leetcode – Try Code Re... by avgDev on Tuesday October 17, 2023 @04:02PM (#37920773)
My IQ is 125 and I feel the same......I love solving problems but only if I feel like they are real world problems.

I did extremely well in algo classes in school.....but since then I have built actual applications that run businesses and haven't used algorithms at all.

Grinding leetcode feels like running on a hamster wheel for me.