Skip to content

Create Flood Fill Algorithm (C++).cpp#158

Open
maitreyi0505 wants to merge 1 commit intoVishal1003:masterfrom
maitreyi0505:patch-3
Open

Create Flood Fill Algorithm (C++).cpp#158
maitreyi0505 wants to merge 1 commit intoVishal1003:masterfrom
maitreyi0505:patch-3

Conversation

@maitreyi0505
Copy link

Input for the code:
4 5
1 3 1 2 2
1 2 2 2 3
2 1 1 2 1
3 1 2 2 2
3 2
8

Output:
Updated screen after call to floodFill:
1 3 1 8 8
1 8 8 8 3
2 1 1 8 1
3 1 8 8 8

Input for the code:
4 5
1 3 1 2 2
1 2 2 2 3
2 1 1 2 1
3 1 2 2 2
3 2
8

Output:
Updated screen after call to floodFill: 
1 3 1 8 8 
1 8 8 8 3 
2 1 1 8 1 
3 1 8 8 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants