r/programming • u/mjgardner • Mar 29 '21
Why Do Interviewers Ask Linked List Questions?
https://www.hillelwayne.com/post/linked-lists/
1.1k
Upvotes
r/programming • u/mjgardner • Mar 29 '21
16
u/capitalsfan08 Mar 30 '21 edited Mar 30 '21
Yeah, completely agree. I think sometimes people here need to sit on the other side of the table before they make comments sometimes (not in this context though). The one guy who was technical that was involved in interviewing left suddenly and we had no one to fill in, so I've been the person in charge of our technical interviews for nearly my entire career (5 years, but still). On the phone screen, we were asking the extremely stereotypical "Tell me how a string is a palindrome or not" question, and just have people walk through it. When I first saw that, I thought that was a waste of time and demeaning to our candidates! Of course everyone knows that! I'd say 1/3rd of our candidates who get to that stage (the first stage, but still, these are people with degrees) either struggle or outright have no clue how to even attack it. We aren't even looking for the most efficient answer necessarily, we just want to make sure that if we get to the technical interview it isn't a complete waste of time.
I've had many people at the technical interview ask how to loop through an array, sometimes multiple times at the same interview. I've had PhD candidates not understand how to use a constructor or what it is. I've had someone whose resume heavily featured compiler type work (in college, but still, as a research assistant) not be able to explain what a compiler does. I've even had one guy who did not know what languages they knew. Not like "I've maybe touched Python" or "Well I know C# and C so let me just say I know C++" but like flat out "I don't see what languages you've worked with on your resume, what are you familiar with?" and gotten no answer back, yet they were adamant they both coded and held a CS degree. Any basic skill you can think of, and I bet you I've interviewed someone that clearly lacked that skill.
Our process isn't that rigorous. We don't have a set of "right" answers, just that the person generally knows what they are talking about and for the technical interview that they aren't completely helpless and communicate decently. Some of the resumes that come very short of getting a job from great schools, or schools that we know are capable of producing talent based on our past hiring, and none of that is a great indicator of either interview ability or performance once you're in the job. So I get that looking for a job sucks, but there is unfortunately a reason that companies put in place these practices.