27.10.2014 Views

Cracking the Coding Interview, 4 Edition - 150 Programming Interview Questions and Solutions

Cracking the Coding Interview, 4 Edition - 150 Programming Interview Questions and Solutions

Cracking the Coding Interview, 4 Edition - 150 Programming Interview Questions and Solutions

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.

Before <strong>the</strong> <strong>Interview</strong> | Behavioral Preparation<br />

Why Are Behavioral <strong>Questions</strong> Asked?<br />

Behavioral questions are asked for a variety of reasons. They can be asked ei<strong>the</strong>r to get to<br />

know your personality, to more deeply underst<strong>and</strong> your resume, or just to ease you into an<br />

interview. Ei<strong>the</strong>r way, <strong>the</strong>se questions are important <strong>and</strong> can be prepared for.<br />

How To Prepare<br />

Behavioral questions are usually of <strong>the</strong> form “tell me about a time when you ...”, <strong>and</strong> may<br />

ask for an example from a specific project or position. I recommend filling in <strong>the</strong> following<br />

“preparation grid” as shown below:<br />

Most Challenging<br />

What You Learned<br />

Most Interesting<br />

Hardest Bug<br />

Enjoyed Most<br />

Conflicts with Teammates<br />

Project 1 Project 2 Project 3 Project 4<br />

Along <strong>the</strong> top, as columns, you should list all <strong>the</strong> major aspects of your resume – e.g., your<br />

projects, jobs, or activities. Along <strong>the</strong> side, as rows, you should list <strong>the</strong> common questions –<br />

e.g., what you enjoyed most, what you enjoyed least, what you considered most challenging,<br />

what you learned, what <strong>the</strong> hardest bug was, etc. In each cell, put <strong>the</strong> corresponding story.<br />

We recommend reducing each story to just a couple keywords that you can write in each cell.<br />

This will make <strong>the</strong> grid easier to study.<br />

In your interview, when you’re asked about a project, you’ll be able to come up with an appropriate<br />

story effortlessly. Study this grid before your interview.<br />

NOTE: If you’re doing a phone interview, you may want to have this grid out in front of you.<br />

Some additional advice:<br />

1. When asked about your weaknesses, give a real weakness! Answers like “My greatest<br />

weakness is that I work too hard / am a perfectionist / etc” tell your interviewer<br />

that you’re arrogant <strong>and</strong>/or won’t admit to your faults. No one wants to work with<br />

someone like that. A better answer conveys a real, legitimate weakness but emphasizes<br />

how you work to overcome it. For example: “Sometimes, I don’t have a very good<br />

attention to detail. While that’s good because it lets me execute quickly, it also means<br />

that I sometimes make careless mistakes. Because of that, I make sure to always have<br />

someone else double check my work.”<br />

2 3<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!