/** * * @param $item * * @return void */ function remove($item) { $this->bst->remove($item); }
/** * @param $key * * @return mixed */ function remove($key) { $this->avl->remove(new Pair($key, null)); }
/** * * @param $item * * @return void */ function remove($item) { $this->bst->remove($item); }
/** * @param $key * * @return mixed */ function remove($key) { $this->avl->remove(new Pair($key, null)); }