Skip to content

Bug Report for count-number-of-islands #5586

@haeminP

Description

@haeminP

Bug Report for https://neetcode.io/problems/count-number-of-islands

Hi! I've been really enjoying the new visualization feature and found this possible bug that on BFS visualization, the algorithm empties the queue on step 9, so the solution ends up returning the wrong number of island.

Image Image Image

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