Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement tree traversal methods in Tree class (#135)
* Implement tree traversal methods in Tree class Enhanced the Tree class in the jewel foundation by adding two new methods for performing tree traversal: 'walkBreadthFirst' and 'walkDepthFirst'. These enhancements provide flexibility in tree exploration based on the application needs. Modifying the 'roots' variable from 'internal' to 'val' to facilitate tree manipulation. * Refactor conditional statements in Tree.kt
- Loading branch information