SplayTree.js
/**
   * Find the smallest key in the given tree
   * @param {object} n - The node as the root
   * @returns {object} The node with the smallest key
   */
Find the smallest key in the given tree
@param {object} n - The node as the root
@returns {object} The node with the smallest key
Find the smallest key in the given tree @param { object } n - The node as the root @returns { object } The node with the smallest key
minNode(n = this._root) {
    if (n) {
      while (n.left) n = n.left;
    }
    return n;
  }
minNode ( n = this . _root ) { if ( n ) { while ( n . left ) n = n . left ; } return n ; }
Find the smallest key in the given tree
 @param {object} n - The node as the root
 @returns {object} The node with the smallest key
Find the smallest key in the given tree @param { object } n - The node as the root @returns { object } The node with the smallest key