Parent K value if pq[] starts from 0
chopragaurav opened this issue · 1 comments
chopragaurav commented
Hi,
For exercise 10 of chapter 2, section 4, I think that Parent value should be k if we are using pq[0].
Thanks
reneargento commented
We don't need to handle that case separately since with integer division (-1) / 2
is equal to zero.