Skip to content

Implementations error #7

@ashwin-git-s

Description

@ashwin-git-s

This line if code checks only the right child colour. It should check the left child as well.

if (s->right->color == 0 && s->right->color == 0) {

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