Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e03875d

Browse files
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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /