Skip to main content
Questions Why Us Pricing Log In Sign Up

Heaps

What is a heap?

Answer

A heap is a tree-based data structure that satisfies the heap property:

  • In a min-heap, each parent node is less than or equal to its children.

  • In a max-heap, each parent node is greater than or equal to its children.

← Back to collection
← Previous question Trees: Traversal Methods Next question Hash Map Pattern →

Social

  • Instagram

Contact

  • linkedin.com/in/rinorbirinxhiku/

Legal

  • Privacy Policy
  • Terms of Service
© 2026 quant.rb. All rights reserved.