UNPKG

@euriklis/ds-architect

Version:

`@euriklis/ds-architect` is a modular and extensible library that provides a rich ecosystem for graph and network-based data structures. Designed with both academic rigor and practical application in mind, this library offers powerful graph algorithms and

11 lines (10 loc) 361 B
import type { BST } from ".."; import type { BSTDataNode } from "../../DataNode"; /** * Performs single right rotation of an AVL * tree. * * @param a - The node which has to be rotated. * @returns{void} */ export declare const SingleRightRotation: <T extends any, AbstractBSTDataNode extends BSTDataNode<T>>(a: AbstractBSTDataNode, tree: BST<T>) => void;