Day8-9
This commit is contained in:
14
733. Flood Fill/Program.cs
Normal file
14
733. Flood Fill/Program.cs
Normal 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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user