* Finds the lowest (leftmost) value in the binary search tree which is * strictly greater than the given value, or null if the given value * is higher than or equal to all elements of the tree * * The complexity of this operation depends on the underlying structure of the * tree. Refe
(value: T)
| 350 | * @returns The higher value if it was found, or null if not. |
| 351 | */ |
| 352 | higher(value: T): T | null { |
| 353 | return this.#findNode(value, "higher", false)?.value ?? null; |
| 354 | } |
| 355 | |
| 356 | /** |
| 357 | * Finds the highest (rightmost) value in the binary search tree which is |
no test coverage detected