4 ms·
But even then, you'd be surprised how many people don't even do that..... Even so, I usually ask something that is barely more difficult, like traverse a tree,
by stale2002 9y ago
But even then, you'd be surprised how many people don't even do that.....
Even so, I usually ask something that is barely more difficult, like traverse a tree, or reverse a sentence.
There is no point at all in asking the hardcore, Google interview questions, as a simple question tells you just as much, which is "do you have a pulse".
- flamedoge 9y agoI got asked compiler question once. How to find dominators. I haven't had to find dominators for a very long time other than from a college course, mostly only used them. Looking it up, it's definitely not something you can come up with because it's so clever.
- tonyedgecombe 9y agoThose questions tell you more about the interviewer than the interviewee.
- mafribe 9y agoWas this interview for a compiler position? Anyway, dominators make sense for arbitrary directed graphs (with a notion of root).
- flamedoge 9y agoyea, but for a target dependent backend position.