An open API service indexing awesome lists of open source software.

https://github.com/dankolesnikov/javabinarysearchtree

Java implementation of a Binary Search Tree data structure.
https://github.com/dankolesnikov/javabinarysearchtree

binary-search-tree binary-trees bst java

Last synced: 3 months ago
JSON representation

Java implementation of a Binary Search Tree data structure.

Awesome Lists containing this project

README

          

# Binary Search Tree (BST)
> Java implementation of a Binary Search Tree data structure.

![](headerBST.png)

# Description
Program simulates emergency waiting room in the hospital. Node's key is based on a priority number from the Patient object.
* Functions implemented: insert, delete, transplant, search, min, in-order traversal.
* To be implemented: max, successor, predecessor, post-order traversal, pre-order traversal.

## Usage

Terminal:

```sh
cd out/artifacts/JavaBinarySearchTree_jar
java -jar JavaBinarySearchTree.jar
```
## Credit
Pseudo code was taken from Intro to Algorithms 3rd, Cormen.

## Meta

Danil Kolesnikov – danil.kolesnikov@sjsu.edu

Distributed under the MIT license.