Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tree DFS performance issues #4

@davidepi

Description

@davidepi

DFS and BFS functions on the tree performs the entire DFS/BFS and then returns the resulting vector.
This is inefficient for methods like find that should stop as soon as a result is found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions