Open In App

Heap Data Structure

Last Updated : 07 Jul, 2025
Summarize
Comments
Improve
Suggest changes
Share
Like Article
Like
Report

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 implement priority queues, where the smallest (or largest) element is always at the root of the tree.


Basics

Library Implementations

Easy Problems

Medium Problems

Hard Problems

Other Types of Heaps

Quick Links:


Binary Heap Introduction
Visit Course explore course icon
Video Thumbnail

Binary Heap Introduction

Video Thumbnail

Heap Python Implementation (Introduction)

Article Tags :
Practice Tags :

Similar Reads