Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mityax/tree-construction

Construct trees from their traversals.
https://github.com/mityax/tree-construction

Last synced: about 1 month ago
JSON representation

Construct trees from their traversals.

Awesome Lists containing this project

README

        

# Tree Constructor

This is a small tool to construct trees from their traversals. It
can be used [here](https://mityax.github.io/tree-construction/).

The tool can construct trees if either

- pre- and inorder traversals or
- in- and postorder traversals

are given.

It also does some validity checking to avoid users trapping
into typo-caused mistakes or the like.

Lastly, it reconstructs the third (missing) traversal and displays
it to the user.