Skip to content

Issue with drop.tip function in removing node C from tree structure A->B->C #119

@moqi111

Description

@moqi111

Problem Description

I am working with a tree structure where nodes are labeled as A->B->C. I am attempting to use the drop.tip function to remove node C from the tree. However, when I execute the function, it returns NULL.

Steps to Reproduce

  1. Create a tree structure with nodes A->B->C.
  2. Use the drop.tip function to remove node C.

Expected Behavior

I expect the drop.tip function to remove node C from the tree and return the modified tree structure.

Actual Behavior

The drop.tip function returns NULL instead of the expected modified tree structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions