Skip to content

Comment on Why can't devs in nyc do sorting algorithms

Comments

No, it doesn't. I understand the need to sort out good developers from bad developers, but when this exam-style interview scourge finally dies out, it won't be soon enough.

All you're doing is optimizing for developers who can create sorting algorithms. If you're a company that specializes in developing new, groundbreaking sorting algorithms, that might make sense. But if you're a company that specializes in, say, B2B software, it doesn't make any sense at all. If one of your developers needs to sort something, they'll just use whatever's available in the libraries or frameworks or languages your company uses.

It might be good to see if they understand the differences between n^2 and an n log n algorithms, only because you want to see if they understand the basic concepts of performance in algorithms versus performance in code.

Why not ask applicants to submit examples of projects they've done or code they've written, pick a few that look interesting to you, find portions of the code or projects that look especially interesting, and ask the candidates about it? You'll get to see what kind of work they do in general, and asking them about their code should weed out the few cheeky bastards that submitted something they didn't actually write.

I disagree. Beyond the idea of sorting algorithm, what this shows is the inability to think algorithmically. A good programmer is not someone who is only able to assemble pieces of libraries together.

No? Hmm. Well, I'm a terrible programmer: I loathe using other people's libraries, I suffer a terminal case of NIH, and in general it takes me forever to get a project released, because I refuse to launch it until every last detail is perfect (and I often burn out on it before I'm done perfecting all those details).

But, I could ace this interview. Hell, I independently developed sorting networks back in about 2002. Present me with a problem and I can probably roll out a pretty good algorithm for solving it, on the spot.

But no startup should ever want to hire me. I'd sink them single-handedly.

So I really don't think that sorting algorithms is the right kind of question for a startup to be asking its candidates.

"good programmer != only able to glue libraries together" != "good programmer == not able to glue libraries together"

AboutSource Built by g1lg1l

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