@@ -122,7 +122,7 @@ private void insert(AVLTreeNode<T> node, T value)
122
122
123
123
124
124
/// <summary>
125
- /// Time complexity: O(log(n))
125
+ /// Time complexity: O(log(n)).
126
126
/// </summary>
127
127
public void Delete ( T value )
128
128
{
@@ -280,7 +280,7 @@ private void delete(AVLTreeNode<T> node, T value)
280
280
}
281
281
282
282
/// <summary>
283
- /// Time complexity: O(log(n))
283
+ /// Time complexity: O(log(n)).
284
284
/// </summary>
285
285
public T FindMax ( )
286
286
{
@@ -302,7 +302,7 @@ private AVLTreeNode<T> findMax(AVLTreeNode<T> node)
302
302
}
303
303
304
304
/// <summary>
305
- /// Time complexity: O(log(n))
305
+ /// Time complexity: O(log(n)).
306
306
/// </summary>
307
307
public T FindMin ( )
308
308
{
@@ -323,7 +323,7 @@ private AVLTreeNode<T> findMin(AVLTreeNode<T> node)
323
323
}
324
324
325
325
/// <summary>
326
- /// Time complexity: O(log(n))
326
+ /// Time complexity: O(log(n)).
327
327
/// </summary>
328
328
public bool Contains ( T value )
329
329
{
@@ -536,7 +536,7 @@ private void UpdateHeight(AVLTreeNode<T> node)
536
536
}
537
537
538
538
/// <summary>
539
- /// Get the value previous to given value in this BST.
539
+ /// Get the next lower value to given value in this BST.
540
540
/// Time complexity: O(log(n))
541
541
/// </summary>
542
542
public T NextLower ( T value )
@@ -552,7 +552,7 @@ public T NextLower(T value)
552
552
}
553
553
554
554
/// <summary>
555
- /// Get the value next to given value in this BST.
555
+ /// Get the next higher value to given value in this BST.
556
556
/// Time complexity: O(log(n))
557
557
/// </summary>
558
558
public T NextHigher ( T value )
0 commit comments