DFS: Connected Cell in a Grid

  • + 2 comments

    Doesn't this solution count the same regions multiple times?