public static void Main() { var sol = new UnitTest1(); Console.WriteLine(sol.NumJewelsInStones("1.1.1.1")); Console.Read(); }
public static void Main() { var sol = new UnitTest1(); Console.WriteLine(sol.NumberOfSteps(14)); Console.Read(); }
public static void Main() { var sol = new UnitTest1(); //array int[] nums = new int[5] { 8, 1, 2, 2, 3 }; Console.WriteLine(sol.SmallerNumbersThanCurrent(nums)); Console.Read(); }
public static void Main() { var sol = new UnitTest1(); String s = "codeleet"; //array int[] indices = new int[6] { 1, 2, 3, 1, 1, 3 }; Console.WriteLine(sol.NumIdenticalPairs(indices)); Console.Read(); }
public static void Main() { var sol = new UnitTest1(); String s = "codeleet"; //array int[] indices = new int[8] { 4, 5, 6, 7, 0, 2, 1, 3 }; Console.WriteLine(sol.RestoreString(s, indices)); Console.Read(); }
static void Main(string[] args) { UnitTest1 Testing = new UnitTest1(); Testing.TestMethod1(); }