Skip to content

Comment on Interviews Can Be a Terrible Way to Identify Good Programmersparent

Comments

I have several points/cases regarding inability to come up with a KMP like algorithm:

1. Fresh CS graduate from the top university (MIT, ETH, Stanford, etc..) - I agree, it is a bad sign.

2. Mid/late career professional - I disagree.

3. Self-taught professional - I disagree.

In latter two cases, some might just never needed/seen similar reasoning/algorithm implementation in their life, but that doesn't make them bad programmers.

Another point - many interviewers have beforehand written down exact fixed algorithm, and if your solution diverges at some point with that single variant (although your solution might be correct as well) - this is the red flag for them - and they interrupt you in the middle. I've experienced this even with an open ended design questions - this is really frustrating.

And my last point - remember that when KMP were coming up with this algorithm, no one were breathing in their back/neck.

Agree on the 2 & 3... I've probably been out of school (CS) for longer than most on here have been programming.

Not being able to come up with KMP on a whiteboard in an interview hasn't kept me from playing no small part in producing millions in revenue for companies.

Especially outrageous is all of the companies that think they need to ask these questions, when the day to day work is essentially mundane CRUD type stuff.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.