Day3. Start Algorithm
This commit is contained in:
10
121. Best Time to Buy and Sell Stock/Program.cs
Normal file
10
121. Best Time to Buy and Sell Stock/Program.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace _121._Best_Time_to_Buy_and_Sell_Stock
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine(new Solution().MaxProfit(new int[] { 7, 1, 5, 3, 6, 4 }));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user