3 ms·
Here's the odd thing - if I meet a candidate who knows about shellsort, I'd already be impressed. Many people I interview have trouble with much more basic conc
by groby_b 13y ago
Here's the odd thing - if I meet a candidate who knows about shellsort, I'd already be impressed. Many people I interview have trouble with much more basic concepts than that.
And of course, it is worth keeping in mind that when you hire an employee that hopefully at some point, the load demands are higher. And it's kind of awkward if your product hits rapid growth, but your engineers are currently busy learning about algorithmic efficiency.
Nobody sane asks about "worst-case efficiency of shell sort" unless you yourself suggest shell sort as an algorithm. But it is expected that you get the general idea of O notation, because it actually does matter for day-to-day work.
And, as a practical interview tip: It's perfectly OK to say "I don't know about this specific case" - just follow it up with "for most sorts, O(n^2) is an upper bound, so if I'd guess, I'd go with O(n^2).", or something like that. It tells the interviewer that you know general principles.
That's the big problem in most interviews - candidates treat it like a test, where there's just the right answer, and nothing else. It's not a test. It's an attempt to somehow, within an hour usually, find out what you know and how you think. Throw the interviewer a bone or two, and help them do that. Silence and short "I don't know" answers really just waste time for everybody.
- raverbashing 13y ago" That's the big problem in most interviews - candidates treat it like a test, where there's just the right answer, and nothing else. " Humm no. Google interviews are (or at least were) pretty much right or wrong answers mostly. The best interviewers could do what you say, but for the most part, no.
- groby_b 13y agoI have to ask - is that your personal experience, or what you read about the interviews?
- waterlesscloud 13y agoAn important thing to realize is that no matter how much they try, a company the size and profile of Google has at best only a loose control over their hiring process. There are too many internal recruiters of varying ability and agendas, and too many interviewers of varying ability and agendas. A company like Google can have stated hiring principles and techniques, but in practice it's going to be nearly random.
- raverbashing 13y ago"is that your personal experience" Correct
- aidenn0 13y agoThat fits with my personal experience, and also my dad's when he interviewed with larger tech companies in the '90s. (For example Microsoft).
- logfromblammo 13y agoThat's an "average airspeed of a swallow" question. The correct answer is not an answer, but another question. "With what gap sequence?"