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

https://github.com/arpith/tree-searcher

Search a tree for a node
https://github.com/arpith/tree-searcher

Last synced: 5 days ago
JSON representation

Search a tree for a node

Awesome Lists containing this project

README

          

# tree-searcher
Search a tree for a node

Code to search a tree of nodes depth first. It takes a node name and the tree as inputs, and will return the node name if it is found.

For example, if the code is given "g" and a tree with the structure above, it will return the node named "g".