About 260,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

    The heap is one maximally efficient implementation of an abstract data type called a priority queue, and in fact, priority queues are often referred to as "heaps", regardless of how they …

  4. Binary Heap - GeeksforGeeks

    Oct 21, 2025 · A Binary Heap is a special type of complete binary tree, meaning all levels are filled except possibly the last, which is filled from left to right. It allows fast access to the …

  5. Heap in C - GeeksforGeeks

    Oct 28, 2025 · A heap is a type of tree data structure where each node is either greater than or equal to or is less than or equal to the values of its children. It is a complete binary tree, …

  6. Heap implementation in Java - GeeksforGeeks

    May 27, 2024 · A heap is a binary tree-based data structure that adheres to a heap property. In a heap, every parent node has a specific relationship with its children: in a max-heap, each …

  7. Implement Heap in C++ - GeeksforGeeks

    Jul 8, 2024 · In this article, we will learn how to implement the heap data structure in C++ using classes. We will focus on a binary heap. For a k-ary heap, refer to this article – K-ary Heap …

  8. Building Heap from Array - GeeksforGeeks

    Oct 18, 2025 · To build a Max Heap from an array, treat the array as a complete binary tree and heapify nodes from the last non-leaf node up to the root in reverse level order.

  9. Introduction to Heap - GeeksforGeeks

    Oct 18, 2025 · Since a heap is a complete binary tree, all levels are fully filled except possibly the last, which is filled from left to right. When inserting an element, it is added at the last available …

  10. Home Energy Assistance Program (HEAP) | OTDA

    The Home Energy Assistance Program (HEAP) can help eligible New Yorkers heat and cool their homes.