Adding computing time (O(log n)) in help text.
This commit is contained in:
parent
c3dda1f0dd
commit
4338456f9c
@ -8,6 +8,8 @@ package heaps;
|
|||||||
* indicate how the tree shall be built. For instance, for a min-heap, the key of a node shall
|
* indicate how the tree shall be built. For instance, for a min-heap, the key of a node shall
|
||||||
* be greater than or equal to its parent's and lower than or equal to its children's (the opposite rule applies to a
|
* be greater than or equal to its parent's and lower than or equal to its children's (the opposite rule applies to a
|
||||||
* max-heap).</p>
|
* max-heap).</p>
|
||||||
|
* <p>All heap-related operations (inserting or deleting an element, extracting the min or max) are performed in
|
||||||
|
* O(log n) time.</p>
|
||||||
* @author Nicolas Renard
|
* @author Nicolas Renard
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user