Ask HN: Is asking obscure algorithms any test of programming ability?
11–20 of 43 posts
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#12No, it is not. Knowing what a priority queue is is a reasonable expectation; knowing the monotone variant is not.
Unfortunately, far too many empathy-deaf programers get to interview candidates. They think that maintaining the company's reputation for having a hard interview process will work in their favor - no "undesirable" candidate get through under MY watch! - unaware of the long-term ill effects such stupid questions have on their profession.
"Hire programers smarter than you" seem to be interpreted as "ask more obscure things than what you were asked". :(
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#13If you believe some reports, it doesn't matter what is covered in an interview; it's no better than a lottery regardless.
Also, any test that you ace has not completely characterized your actual skill level; all it tells you is that you're above the skill range measured by the test. You might be a little bit above, or far above, that upper bound. Maybe they've decided to have one really hard question that it's unlikely anyone will answer correctly, but if they get someone who can answer it then they know they've found someone really sui…
I am a Phd student in Computer Graphics and so it is a reasonable expectation that I should know more about linear algebra than my peers. But if you extrapolate it to ask extremely hard research level problem it kills the purpose.
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#14If someone thinks that is a good way to judge hires they are wrong.
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#15"Given an array, and a sliding window within that array, how would you go about finding the max" is a legitimate question with plausible real-world application. The fact that there's an obscure algorithm to optimally solve this doesn't mean it's not a good test of someone's ability to think through an algorithmic problem - as long as you don't make it an algorithm memorization test.
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#16The test isn't about whether you know the algorithm – quite the opposite. The test is about seeing how you approach a problem you haven't (possibly) solved before.
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#17- They started asking algos and datastructs in the 00s because not too many people had the resources to study it. This served as a proxy for intelligence and was vaguely related as compared to other IQ tests or puzzles
- In this decade, more and more CS graduates and bootcampers started studying the same algo and datastruct problems
- Unable to reject anyone (because everyone could solve those problems), they started increasing the difficulty of the problems and started fretting over stupid things like variable names, arcane data structures and solutions, culture fit, ability to handle pressure etc.
- Today, it has devolved into a nerd show off event where the entire goal of interview has become diluted.
The goal of the interview was to open a requisition, find a smart candidate to do the job, close the requisition.
Nowadays, they'll open a req/have a pipeline of candidate, grill them over unnecessary questions and keep interviewing candidates until they get bored/really need to close this req.
The whole point of the interview process is so lost. As a person who is employed in one of these companies, I hate to see what it has become. We regularly reject candidates who are clearly more passionate than their interviewers, have better experience and bring something new to the table.
But because these mediocre interviewers (my peers) interview candidates on some arcane crap (that they obviously can't solve in 30 mins) these smart guys get rejected and I'm relegated to working with these retards.
It is one thing to ask coding questions to filter out the complete losers. It is completely another thing to hire only people who can solve these stupid questions.
Sad!
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#18I believe it's the opposite. We all went to college and got the same freakin CS degree. We don't know anything about building products when we graduate. Building a product from the ground up without the help of a designer and PM is a tough exercise. Most engineers would fail. Guess what, that's what we do all day in the real world. 10 years later I still get algorithm questions as if my job is %100 about algorithm. That's %5 of my Master's program by the way.
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#19What an interviewer focusing on specifics can pick up on is near term familiarity with a topic. But someone who can deliver value is also able to propel knowledge into novel areas, and can explain and debug the solution they came up with. They aren't there to be a student passing an exam.
Familiarity tests are often "weeder" filters that clear out candidates with no knowledge of the domain problem. This is a mixed blessing as it can find senior people if you drill deep enough with the right problems, but it can also make the overall skillset and wisdom of the team brittle if they are overfit.
Re: Ask HN: Is asking obscure algorithms any test of programming ability?
#20So yes as you can see knowing algorithms is important, as if you don't you will attempt to use an overly complicated data structure to come up with a suboptimal solution.