Homework 8


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by Frank on July 22, 1999 at 22:28:53:

There is something in the textbook,which really confued me. In the middle page 159. It says that "...building heap .. .start with first internal node.... figure 5.27 result from this process." and Figure 5.27 starts with the node whose value is 2.But according to the code in page 157 it should start from i=7/2-1=2, that means it is the node whose the value is 3. So which one I should start from to build the heap ?

thank you


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]