Skip to content

allow id to explicitly set #3

@ckgagan

Description

@ckgagan

the id for the NaryTree::Node is set randomly using private create_id function.

can we allow users to set the id for node explicitly?
This way we can find the node easily if we know the id and do tree operations like parent, siblings etc

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