private static void Main(string[] args) { Console.WriteLine("Hello World!"); var text = "aaaaaa"; var s = new Solution(); var s2 = new Solution2(); Console.WriteLine(s.CountSubstrings(text)); Console.WriteLine(s2.CountSubstrings(text)); }
private static void Main(string[] args) { Console.WriteLine("Hello World!"); var text = "aaaaaa"; var s = new Solution(); var s2 = new Solution2(); Console.WriteLine(s.CountSubstrings(text)); Console.WriteLine(s2.CountSubstrings(text)); }