()
| 27 | } |
| 28 | |
| 29 | directionFromParent(): Direction | null { |
| 30 | return this.parent === null |
| 31 | ? null |
| 32 | : this === this.parent.left |
| 33 | ? "left" |
| 34 | : this === this.parent.right |
| 35 | ? "right" |
| 36 | : null; |
| 37 | } |
| 38 | |
| 39 | findMinNode(): BinarySearchNode<T> { |
| 40 | let minNode: BinarySearchNode<T> | null = this.left; |
no outgoing calls
no test coverage detected