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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Solutions</strong> to Chapter 20 | Hard<br />

2. Our next thought in problems like <strong>the</strong>se should be to really, really underst<strong>and</strong> how<br />

you add. Walk through an addition problem to see if you can underst<strong>and</strong> something<br />

new—some pattern—<strong>and</strong> <strong>the</strong>n see if you can replicate that with code.<br />

Your interviewer is looking for two things in this problem:<br />

1. Can you break down a problem <strong>and</strong> solve it?<br />

2. Do you underst<strong>and</strong> how to work with bits?<br />

CareerCup.com<br />

2 8 0

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

Saved successfully!

Ooh no, something went wrong!