Chuck Lucier
2005-09-29 00:50:42 UTC
what leader are we swapping with the node at the specified index being
passed as a parameter? Is the leader going to be a leaf and is the index
given also a leaf? Are we switching nodes that have the same weight? What's
the point to having this method? Is it supposed to be where a node gets
incremented greater than it's siblings it has to find the last node that's
less than it and swap them? My partner and I are kind of lost if some one
could be so kind and clear this up for us please!
passed as a parameter? Is the leader going to be a leaf and is the index
given also a leaf? Are we switching nodes that have the same weight? What's
the point to having this method? Is it supposed to be where a node gets
incremented greater than it's siblings it has to find the last node that's
less than it and swap them? My partner and I are kind of lost if some one
could be so kind and clear this up for us please!