Day4
This commit is contained in:
12
566. Reshape the Matrix/Program.cs
Normal file
12
566. Reshape the Matrix/Program.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace _566._Reshape_the_Matrix
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var res = new Solution().MatrixReshape(new int[][] { new int[] { 1,2 }, new int[] { 4, 5 } }, 2, 4);
|
||||
foreach(var row in res)
|
||||
Console.WriteLine(String.Join(" ", row));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user