首页 >  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

创建者

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