title: Bottom up Construction heaps
body: <p>I'm an working on a question where I have 10 keys and I have to make a bottom up construction. According to my book, I'm supposed to construct (n+1)/2 heaps which is 11/2=5.5 heaps for the bottom. Then 11/4 for the 2nd level, 11/8 for 3rd and so on.</p>
  
  <p>The problem is I get this as result:</p>
  
  <p>(Using 'a' for example)</p>
  
  <p><img src="https://i234.photobucket.com/albums/ee251/club24/img.png" alt="picture of heaps"></p>
  
  <p>Since 11/2=5.5, so I round to 6, 11/4=2.75 so 3, 11/8=1.375 so 2, and 11/16=0.6875 so 1.</p>
  
  <p>Even if I don't round up, I still have a weird heaps. Can anyone explain where I messed up?</p>