skip to main content
column

An alternative visual analysis of the build heap algorithm

Published:31 August 2011Publication History
Skip Abstract Section

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.

References

  1. Alfred V. Aho, John E. Hopcroft, Jeffrey D. Ullman, The Design and Analysis of Computer Algorithms, Addison-Wesley, Boston, MA, 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Blaheta, D. 2009. A visual proof of amortised-linear resizable arrays. In Proceedings of the 14th Annual ACM SIGCSE Conference on Innovation and Technology in Computer Science Education (Paris, France, July 06-09, 2009). ITiCSE '09. ACM, New York, NY, 338--338. DOI= http://doi.acm.org/10.1145/1562877.1562979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Thomas T. Cormen, Charles E. Leiserson, Ronald L. Rivest, Introduction to Algorithms, MIT Press, Cambridge, MA, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Goodrich, M. T. and Tamassia, R. 1998. Teaching the analysis of algorithms with visual proofs. SIGCSE Bull. 30, 1 (Mar. 1998), 207--211. DOI=http://doi.acm.org/10.1145/274790.274298. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Hammack, R. H. and Lyons, D. W., Alternating series convergence: A visual proof, Teaching Mathematics and its Applications, 25, 2 (2006) 58--60, DOI=10.1093/teamat/hri005.Google ScholarGoogle Scholar
  6. Udi Manber, Introduction to Algorithms: A Creative Approach. Addison-Wesley, Boston, MA, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Bruno Preiss, Data Structures and Algorithms with Object-Oriented Design Patterns in C++, Wiley, New York, NY, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Sher, D. B. 2008. A visual proof for an average case of list searching. SIGCSE Bull. 40, 2 (Jun. 2008) 74?78, DOI= http://doi.acm.org/10.1145/1383602.1383639. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An alternative visual analysis of the build heap algorithm

                Recommendations

                Comments

                Login options

                Check if you have access through your login credentials or your institution to get full access on this article.

                Sign in

                Full Access

                • Published in

                  cover image ACM Inroads
                  ACM Inroads  Volume 2, Issue 3
                  September 2011
                  74 pages
                  ISSN:2153-2184
                  EISSN:2153-2192
                  DOI:10.1145/2003616
                  Issue’s Table of Contents

                  Copyright © 2011 ACM

                  Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                  Publisher

                  Association for Computing Machinery

                  New York, NY, United States

                  Publication History

                  • Published: 31 August 2011

                  Permissions

                  Request permissions about this article.

                  Request Permissions

                  Check for updates

                  Qualifiers

                  • column

                PDF Format

                View or Download as a PDF file.

                PDF

                eReader

                View online with eReader.

                eReader

                HTML Format

                View this article in HTML Format .

                View HTML Format