Skip to content

Commit e03875d

Browse files
authoredSep 13, 2021
Update tree-intro.asc
1 parent 03bafbb commit e03875d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎book/content/part03/tree-intro.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ image::image35.png[image,width=258,height=169]
106106

107107
.Heap vs. Binary Search Tree
108108
****
109-
Heap is better at finding max or min values in constant time *O(1)*, while a balanced BST is good a finding any element in *O(log n)*. Heaps are often used to implement priority queues, while BST is used when you need every value sorted.
109+
Heap is better at finding max or min values in constant time *O(1)*, while a balanced BST is good at finding any element in *O(log n)*. Heaps are often used to implement priority queues, while BST is used when you need every value sorted.
110110
****
111111
indexterm:[Runtime, Logarithmic]

0 commit comments

Comments
 (0)
Failed to load comments.