Day6. Namespace style
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
namespace _121._Best_Time_to_Buy_and_Sell_Stock
|
||||
namespace _121._Best_Time_to_Buy_and_Sell_Stock;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
internal class Program
|
||||
static void Main(string[] args)
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine(new Solution().MaxProfit(new int[] { 7, 1, 5, 3, 6, 4 }));
|
||||
}
|
||||
Console.WriteLine(new Solution().MaxProfit(new int[] { 7, 1, 5, 3, 6, 4 }));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user