Skip to content

Commit

Permalink
Update 6.5.md
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiikselvam authored and Peng-Yu Chen committed Jun 12, 2021
1 parent b292a9a commit b6e977f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Chap06/6.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ HEAP-DECREASE-KEY(A, i, key)
if key > A[i]
error "new key is larger than current key"
A[i] = key
while i > 1 and A[PAREANT(i)] > A[i]
while i > 1 and A[PARENT(i)] > A[i]
exchange A[i] with A[PARENT(i)]
i = PARENT(i)
```
Expand Down

0 comments on commit b6e977f

Please sign in to comment.