Skip to content

Commit 0beccaf

Browse files
Fix typos in DataStructures/AVLTree/AVLTree.cs (#559)
1 parent 97798f5 commit 0beccaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataStructures/AVLTree/AVLTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ private AvlTreeNode<TKey> Add(AvlTreeNode<TKey> node, TKey key)
360360
throw new ArgumentException($"""Key "{key}" already exists in AVL tree.""");
361361
}
362362

363-
// Check all of the new node's ancestors for inbalance and perform
363+
// Check all of the new node's ancestors for imbalance and perform
364364
// necessary rotations
365365
node.UpdateBalanceFactor();
366366

0 commit comments

Comments
 (0)