Skip to content

[BUG]: DepthFirstSearch.js in trees folder is not working properly #1280

@sundaram2021

Description

@sundaram2021

Description

tarverseDFS function is not working

Expected Behavior

tarverseDFS function should traverse the tree

Actual Behavior

In tarverseDFS function , the res array ia empty or undefined

Steps to reproduce (if applicable)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions