News for hackers. Stuff that matters.
Re:Why Linked Lists Are an Interview Staple by ramraj07 on Thursday June 06, 2019 @12:14AM (#20111529)
People get this wrong? Like CS majors??
Re:Why Linked Lists Are an Interview Staple by Jach on Thursday June 06, 2019 @01:00AM (#20111724)
Interview enough people and you'll get people with Masters or PhDs in computer science failing what seem to be trivial problems. Like FizzBuzz trivial. You can find anecdotes on HN and other places...

My own personal worst experience is limited to a Masters in Physics who couldn't code at all, code-like experience was limited to some sort of software tool that some PMs might use to create acceptance tests. Though I think a lot of these cases are just indications of a bigger problem higher up, like HR or the hiring manager not adequately setting expectations of the job role, or just not doing basic screening.

Re:Why Linked Lists Are an Interview Staple by prepend on Thursday June 06, 2019 @02:27AM (#20112083)
I once asked a person with an MSCS what a string was and they didn’t know. I think it might be a language barrier thing so I asked the difference between an array of characters and a string and again, no answer.
Re:Why Linked Lists Are an Interview Staple by deathanatos on Thursday June 06, 2019 @03:29AM (#20112330)
Yes, I'd believe it. At a previous employer, our phone screen was "implement min()" for a long time, and it weeded out way too many candidates.

(My questions have often been tailored around "get the candidate to implement something that would require a for loop" and that is typically enough to start weeding people out, particularly at the phone screen.)

Re:Why Linked Lists Are an Interview Staple by tracker1 on Thursday June 06, 2019 @06:16PM (#20119772)
I usually start with, "In JavaScript what 6 values evaluate to false?" ... almost nobody gets it, but it's usually an excellent barometer for how well they know JS as a language and guides the rest of the questions.

Aside: I tend to prefer people who have worked with multiple languages that are different from each other, regardless of language. Also, way too many people look down on JS without actually knowing JS.

Re:Why Linked Lists Are an Interview Staple by kthejoker2 on Friday June 07, 2019 @02:42AM (#20122185)
... well now I feel dumb, I guessed 5 ... except for false itself!
Re:Why Linked Lists Are an Interview Staple by tracker1 on Friday June 07, 2019 @12:51PM (#20126504)
false, 0, null, undefined, "", NaN

Everything else is truthy. If you think about the original use of JS as mostly input validation, the values above make total sense.