title: Arithmetic Right Shift 1101 >> 2, wrong solution in Cracking the Coding Interview?
body: <p>(For reference: Table on p.89 of Cracking the Coding Interview by Gayle Laakmann McDowell)</p>
  
  <p>The solution for 1101 >> 2 is 0011. Is the book's answer wrong? Because from what I've read online and from <a href="https://stackoverflow.com/questions/141525/absolute-beginners-guide-to-bit-shifting">this stackoverflow post</a>, I thought it should be 1111. </p>
  
  <p>My reasoning is because >> is an arithmetic right shift where you shift with the most significant bit (the left most bit because it preserves negative numbers). Am I understanding this wrong?</p>