Skip to content

pathsum.cpp has redundant NULL check #142

@shrivalidutt

Description

@shrivalidutt

The NULL check at the beginning of hasPathSum() was removed because the checkPathSum() function already handles the NULL case. This simplifies the logic.

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