<div>We use MHS to solve Example 2.37 in Chapter 2 in order to compare with BSA in 3 dimension.Three are four files:</div><div><br></div><div>grid3 is a function to define f=x^2+y^2+z^2.<br><div><div>heapA2 is a heap sort function.</div></div></div><div>heapifydownN1 is a heapifydown function.</div><div>heapifyup1 is a heapifydown function.</div>