@@ -122,7 +122,7 @@ private void insert(AVLTreeNode<T> node, T value)
122122
123123
124124 /// <summary>
125- /// Time complexity: O(log(n))
125+ /// Time complexity: O(log(n)).
126126 /// </summary>
127127 public void Delete ( T value )
128128 {
@@ -280,7 +280,7 @@ private void delete(AVLTreeNode<T> node, T value)
280280 }
281281
282282 /// <summary>
283- /// Time complexity: O(log(n))
283+ /// Time complexity: O(log(n)).
284284 /// </summary>
285285 public T FindMax ( )
286286 {
@@ -302,7 +302,7 @@ private AVLTreeNode<T> findMax(AVLTreeNode<T> node)
302302 }
303303
304304 /// <summary>
305- /// Time complexity: O(log(n))
305+ /// Time complexity: O(log(n)).
306306 /// </summary>
307307 public T FindMin ( )
308308 {
@@ -323,7 +323,7 @@ private AVLTreeNode<T> findMin(AVLTreeNode<T> node)
323323 }
324324
325325 /// <summary>
326- /// Time complexity: O(log(n))
326+ /// Time complexity: O(log(n)).
327327 /// </summary>
328328 public bool Contains ( T value )
329329 {
@@ -536,7 +536,7 @@ private void UpdateHeight(AVLTreeNode<T> node)
536536 }
537537
538538 /// <summary>
539- /// Get the value previous to given value in this BST.
539+ /// Get the next lower value to given value in this BST.
540540 /// Time complexity: O(log(n))
541541 /// </summary>
542542 public T NextLower ( T value )
@@ -552,7 +552,7 @@ public T NextLower(T value)
552552 }
553553
554554 /// <summary>
555- /// Get the value next to given value in this BST.
555+ /// Get the next higher value to given value in this BST.
556556 /// Time complexity: O(log(n))
557557 /// </summary>
558558 public T NextHigher ( T value )
0 commit comments