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

https://github.com/bradgarropy/homeaway-binary-tree

🌲️ homeaway interview question - binary tree
https://github.com/bradgarropy/homeaway-binary-tree

eslint homeaway interview node prettier

Last synced: about 1 month ago
JSON representation

🌲️ homeaway interview question - binary tree

Awesome Lists containing this project

README

          

# Problem Statement

Implement a binary tree and perform a breadth first traversal on it's nodes.
The tree is not guaranteed to be full, balanced, or sorted.

# Bonus

Implement depth first traversal.
Support traversal in both directions (left -> right, right -> left).
Implement a binary search tree.

# Example Tree

![binary tree](./binary-tree.png)