About 181,000 results
Open links in new tab
  1. 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 greater than …

  2. 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 usually used to …

  3. 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.

  4. Heaps | Brilliant Math & Science Wiki

    Heaps are tree-based data structures constrained by a heap property. Heaps are used in many famous algorithms such as Dijkstra’s algorithm for finding the shortest path, the heap sort sorting algorithm, …

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

    Nov 24, 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.

  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 right child.

  7. What is Heap Data Structure? Properties and Applications

    A heap is a complete binary tree structure where each element satisfies a heap property. In a complete binary tree, all levels are full except the last level, i.e., nodes in all levels except the last level will …

  8. 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 mechanisms.

  9. Heap in Data Structures - ScholarHat

    Sep 23, 2025 · A heap is a tree-like data structure in which the tree is a complete binary tree that satisfies the heap property. According to the heap property, all the children of a given node must be …

  10. 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 greater …