News for hackers. Stuff that matters.
Re:In Defense of LeetCode Interviews by novok on Saturday October 12, 2024 @12:40AM (#41816452)
IQ test questions are explicitly designed to be things you haven't seen before, solved within minutes per problem. If you've seen them before then the validity of the test is usually invalidated.

Leetcode is effectively the opposite, because each one is usually a CS paper by itself, which by definition took a very hard problem a long time for a very smart person to create and test the solution.

You cannot practically invent the a leetcode solution from whole cloth if you treat it like an IQ test question should be done. It's a sport and you get good at sports via drills until it become muscle memory.

Re:In Defense of LeetCode Interviews by habitue on Saturday October 12, 2024 @02:00AM (#41816808)
Again, the IQ being measured isn't "Are you able to invent A* search during the interview?" but rather "Can you memorize and apply these algorithms?".

Believe it or not, most humans on earth can study as long as they want for leetcode and still won't do well on them. If you can drill and study for them and your scores improve... bam: that's the IQ test.

Re:In Defense of LeetCode Interviews by biglyburrito on Saturday October 12, 2024 @09:26AM (#41818896)
You're still missing the point: "IQ test questions are explicitly designed to be things you haven't seen before."

LeetCode is the _opposite_ of an IQ test. LeetCode tests one's ability to memorize, recognize, & regurgitate information in a timed test.

Re:In Defense of LeetCode Interviews by eYrKEC2 on Saturday October 12, 2024 @09:35PM (#41824432)
It doesn't matter. It's a heuristic. _vocabulary_ test performance correlates with IQ and vocabulary is _only_ a test of something you know.