25.03.2013 Views

Cracking the Coding Interview - Fooo

Cracking the Coding Interview - Fooo

Cracking the Coding Interview - Fooo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

At <strong>the</strong> <strong>Interview</strong> | Frequently Asked Questions<br />

Do I have to get every question right?<br />

No A good interviewer will stretch your mind They’ll want to see you struggle with a difficult<br />

problem If a candidate is good, <strong>the</strong>y’ll ask harder and tougher questions until he/she<br />

is stumped! Thus, if you have trouble on a question, all it means is that <strong>the</strong> interviewer is<br />

doing <strong>the</strong>ir job!<br />

Should I tell my interviewer if I know a question?<br />

Yes! You should definitely tell your interviewer if you’ve previously heard <strong>the</strong> question This<br />

seems silly to some people - if you already know <strong>the</strong> question (and answer), you could ace<br />

<strong>the</strong> question, right? Not quite<br />

Here’s why we strongly recommend that you tell your interviewer that you’ve heard <strong>the</strong><br />

question:<br />

1 Big honesty points This shows a lot of integrity That’s huge Remember that <strong>the</strong><br />

interviewer is evaluating you as a potential teammate I don’t know about you, but I<br />

personally prefer to work with honest people!<br />

2 The question might have changed ever-so-slightly You don’t want to risk repeating <strong>the</strong><br />

wrong answer<br />

3 If you easily belt out <strong>the</strong> right answer, it’s obvious to <strong>the</strong> interviewer They know how<br />

hard a problem is supposed to be It’s very hard to “pretend” to struggle through a<br />

question, because you just can’t approach it <strong>the</strong> same way o<strong>the</strong>r candidates do<br />

How should I dress?<br />

Generally, candidates should dress one small step above <strong>the</strong> average employee in <strong>the</strong>ir position,<br />

or as nice as <strong>the</strong> nicest dressed employees in <strong>the</strong>ir position In most software firms, this<br />

means that jeans (nice jeans with no holes) or slacks with a nice shirt or sweater is fine In a<br />

bank or ano<strong>the</strong>r more formal institution, avoid jeans and stick with slacks<br />

What language should I use?<br />

Many people will tell you “whatever language you’re most comfortable with,” but ideally you<br />

want to use a language that your interviewer is comfortable with I’d usually recommend<br />

coding in ei<strong>the</strong>r C, C++ or Java, as <strong>the</strong> vast majority of interviewers will be comfortable in<br />

one of <strong>the</strong>se languages My personal preference for interviews is Java (unless it’s a question<br />

requiring C / C++), because it’s quick to write and almost everyone can read and understand<br />

Java, even if <strong>the</strong>y code mostly in C++ (Almost all <strong>the</strong> solutions in this book are written in<br />

Java for this reason )<br />

I didn’t hear back immediately after my interview Am I rejected?<br />

4 1<br />

<strong>Cracking</strong> <strong>the</strong> <strong>Coding</strong> <strong>Interview</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!