title: Child node of a heap
body: <p>What is the index of a child node in a heap in the array represenatation of a heap.<br>
  In my lecture notes and <a href="http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Sorting/heapSort.htm" rel="nofollow">in this article</a></p>
  
  <p>it is given as <code>2k</code> and/or <code>2k+1</code>   </p>
  
  <p>But in an array indexes start from 0,not 1 right?<br>
  Therefore shouldn't the children of node k be <code>2k+1</code> and/or <code>2k+2</code></p>