min heap

A min heap is a complete binary tree data structure where the value at each node is less than or equal to the values of its children. This ensures that the root node contains the smallest value, making it efficient for finding and extracting the minimum element in constant time.

Requires login.