150. Evaluate Reverse Polish Notation
This commit is contained in:
11
150. Evaluate Reverse Polish Notation/Program.cs
Normal file
11
150. Evaluate Reverse Polish Notation/Program.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using _150._Evaluate_Reverse_Polish_Notation;
|
||||
|
||||
string[] arr = ["10", "1", "1", "2", "+", "+", "+"];
|
||||
var sol = new Solution();
|
||||
int n = 100000;
|
||||
while(n-- > 0)
|
||||
Console.WriteLine(sol.EvalRPN(["10", "1", "1", "2", "+", "+", "+"]));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user