An alternative visual analysis of the build heap algorithm

  • Authors:
  • Hussein Thompson;Pranay Chadhuri

  • Affiliations:
  • University of the West Indies, Bridgetown, Barbados;Heritage Institute of Technology, Kolkata 700 107 India

  • Venue:
  • ACM Inroads
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article presents an alternative visual analysis of the BUILDHEAP algorithm provided by Goodrich and Tamassia [4]. The analysis is based only on elementary properties of complete binary trees and a simple comparison of the areas of rectangles. As such, it should be accessible to a wide cross-section of students taking a typical algorithm design and analysis course.