mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 01:35:16 +08:00
Adding computing time (O(log n)) in help text.
This commit is contained in:
@ -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
|
||||
* 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>
|
||||
* <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
|
||||
*
|
||||
*
|
||||
|
Reference in New Issue
Block a user