• Balance a red-black tree after operations of insertion.

    Parameters

    • aRBTree: RBTree<any>

      the red-black tree to consider

    Returns RBTree<any>