2-9 of 373,000 results
Open links in new tab
  1. 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 …

  2. Heap Data Structure in Java – Implementation and Explanation

    Mar 26, 2025 · A Heap is a special tree-based data structure that satisfies the heap property: In a Min Heap, the parent node is always smaller than or equal to its children. In a Max Heap, the …

  3. Max Heap in Java: Complete Implementation Guide

    May 21, 2025 · Using Java‘s PriorityQueue for Max Heap Java provides a built-in implementation of priority queue that can be configured as a Max Heap using Collections.reverseOrder():

  4. Max Heap Java Example - Java Code Geeks

    Jun 16, 2020 · In this article we will show what is max heap in Java and why we use it. 1. Introduction A max heap binary tree is a complete binary tree in which the

  5. Is there a Heap in java? - Stack Overflow

    Jan 4, 2013 · I am porting a C++ library to Java and I need a heap data structure. Is there a standard implementation or will I need to do it myself?

  6. Max Heap Data Structure Implementation in Java | DigitalOcean

    Aug 3, 2022 · A max heap is a complete binary tree in which the value of a node is greater than or equal to the values of its children. Max Heap data structure is useful for sorting data using …

  7. Min & Max Heap Implementation using Java!

    Aug 21, 2025 · Min & Max Heap Implementation using Java! Implementing Min-Heap and Max-Heap in Java with Step-by-Step Complexity Analysis Heaps are one of the most important …

  8. Min Heap and Max Heap Implementation in Java | Techie Delight

    Sep 17, 2025 · This article covers Java implementation of Priority Queue Data Structure (Max Heap and Min heap) and cover `heapify-up`, `push`, `heapify-down` and `pop` operations.