About 245,000 results
Open links in new tab
  1. Heap Data Structure - GeeksforGeeks

    Jul 23, 2025 · A Heap is a complete binary tree data structure that satisfies the heap property: for every node, the value of its children is greater than or equal to its own value. Heaps are …

  2. Heap Data Structure - Programiz

    Heap data structure is a complete binary tree that satisfies the heap property. In this tutorial, you will understand heap and its operations with working codes in C, C++, Java, and Python.

  3. Heap (data structure) - Wikipedia

    In computer science, a heap is a tree -based data structure that satisfies the heap property: In a max heap, for any given node C, if P is the parent node of C, then the key (the value) of P is …

  4. Heap Data Structure - Online Tutorials Library

    Based on this criteria, a heap can be of two types −. Min-Heap − Where the value of the root node is less than or equal to either of its children. Max-Heap − Where the value of the root node is …

  5. What is Heap Data Structure? Properties and Applications

    Heap is a complete binary tree structure where each node satisfies a heap property. We learn two types of heap data structure: 1) Max heap, which satisfies the max heap property, and 2) Min …

  6. Heap Data Structure: What is Heap? Min & Max Heap (Example)

    Jul 28, 2025 · Heap is a specialized tree data structure. The heap comprises the topmost node called a root (parent). Its second child is the root's left child, while the third node is the root's …

  7. You can view a max heap as a binary tree, where each node has two (or fewer) children, and the key of each node (i.e. the number inside the node) is greater than the keys of its child nodes.

  8. What is Heap Data Structure? Types, Examples, Full Guide

    Mar 8, 2025 · Here, we will discuss the basics of a heap tree in data structure, its types, and its significance in various algorithms, providing a foundational understanding for beginners.

  9. Heap Data Structures Explained: Applications, Problem-Solving …

    Aug 9, 2024 · Heap is a tree-based data structure that has to maintain some property known as Heap Property. These properties define the relationship between parent nodes and their children.

  10. Heap Data Structure: A Guide - Built In

    Jan 22, 2025 · A heap is a data structure that can be represented by a complete binary tree. It’s a useful data structure for sorting algorithms, priority queues and autocomplete and caching …