Home >  Term: binary priority queue
binary priority queue

A priority queue implemented with a binary tree having the following restrictions:

  • The key of a node is greater than keys of its children, i.e., it has the heap property.
  • If the right subtree is not empty, the left subtree is not empty.
  • If there are both left and right children, the left child's key is greater than the right child's key.

0 0

Kūrėjas

  • GeorgeV
  •  (Gold) 1123 points
  • 100% positive feedback
© 2024 CSOFT International, Ltd.