Skip to content

Commit 864c16c

Browse files
committed
Fixes some spelling errors.
1 parent 15ca8af commit 864c16c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Hashed Heap/HashedHeap.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/// Heap with an index hash map (dictionary) to speed up lookups by value.
44
///
55
/// A heap keeps elements ordered in a binary tree without the use of pointers. A hashed heap does that as well as
6-
/// having amortized constant lookups by value. This is used in the A* and other heuristic search alogirhtms to achieve
7-
/// optimal perfomrance.
6+
/// having amortized constant lookups by value. This is used in the A* and other heuristic search algorithms to achieve
7+
/// optimal performance.
88
public struct HashedHeap<T: Hashable> {
99
/// The array that stores the heap's nodes.
1010
private(set) var elements = [T]()

0 commit comments

Comments
 (0)