Skip to content

Commit 65dcc1b

Browse files
authored
incorrect spelling of height. (williamfiset#307)
Changed the spelling of hieght to height.
1 parent 9b4bab1 commit 65dcc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/williamfiset/algorithms/datastructures/balancedtree/AVLTreeRecursive.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ private Node remove(Node node, T elem) {
253253
// successor of the node being removed can either be the largest
254254
// value in the left subtree or the smallest value in the right
255255
// subtree. As a heuristic, I will remove from the subtree with
256-
// the greatest hieght in hopes that this may help with balancing.
256+
// the greatest height in hopes that this may help with balancing.
257257
} else {
258258

259259
// Choose to remove from left subtree

0 commit comments

Comments
 (0)