This commit is contained in:
Electrominch
2022-10-11 01:45:16 +03:00
parent c019e8856c
commit 02afed9c4c
34 changed files with 691 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
namespace _733._Flood_Fill;
internal class Program
{
static void Main(string[] args)
{
int[][] matrix = new int[][] { new int[] { 1,1,1 },
new int[] { 1,1,0 },
new int[] { 1,0,1 } };
var res = new Solution().FloodFill(matrix, 1,1, 2);
foreach(var row in res)
Console.WriteLine(String.Join(" ", row));
}
}