GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — javascript-algorithms/src/data-structures/heap at master · willsilence/javascript-algorithms

Expand file tree

/

heap

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

heap

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
__test__
__test__
 
 
Heap.js
Heap.js
 
 
MaxHeap.js
MaxHeap.js
 
 
MinHeap.js
MinHeap.js
 
 
README.fr-FR.md
README.fr-FR.md
 
 
README.ja-JP.md
README.ja-JP.md
 
 
README.md
README.md
 
 
README.pt-BR.md
README.pt-BR.md
 
 
README.ru-RU.md
README.ru-RU.md
 
 
README.tr-TR.md
README.tr-TR.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 

README.md

Outline

Heap (data-structure)

Read this in other languages: 简体中文, Русский, 日本語, Français, Português, Türkçe

In computer science, a heap is a specialized tree-based data structure that satisfies the heap property described below.

In a min heap, if P is a parent node of C, then the key (the value) of P is less than or equal to the key of C.

MinHeap

In a max heap, the key of P is greater than or equal to the key of C

Heap

The node at the "top" of the heap with no parents is called the root node.

References

  • Wikipedia
  • YouTube
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.