budget/src/main/java/budget/backend/structures/AVLSearchTree.java
private void updateHeight(AVLTreeNode<K,V> n){
		
		if (n != null){
			updateNodeH(n);
			//recursive call
			updateHeight(n.getParent());
		}
		//exit at the root	
	}
/**
	 * update the height with the given value of the ascending nodes from the given node recursively
	 * @param n by default, the parent of the newly inserted/deleted node
	 * @param byVal only two values are permitted: +1 and -1.
   */
update the height with the given value of the ascending nodes from the given node recursively
@param n by default, the parent of the newly inserted/deleted node
@param byVal only two values are permitted: +1 and -1.
update the height with the given value of the ascending nodes from the given node recursively @param n by default the parent of the newly inserted / deleted node @param byVal only two values are permitted : + 1 and - 1 .
private void updateHeight(AVLTreeNode<K,V> n){
		if (n != null){
			updateNodeH(n);
			updateHeight(n.getParent());
		}
	}
private void updateHeight ( AVLTreeNode < K , V > n ) { if ( n != null ) { updateNodeH ( n ) ; updateHeight ( n . getParent ( ) ) ; } }
update the height with the given value of the ascending nodes from the given node recursively
 @param n by default, the parent of the newly inserted/deleted node
 @param byVal only two values are permitted: +1 and -1.
update the height with the given value of the ascending nodes from the given node recursively @param n by default the parent of the newly inserted / deleted node @param byVal only two values are permitted : + 1 and - 1 .
//recursive call //exit at the root	