예제 #1
0
 private static void leftRotation()
 {
     int[] input  = new int[] { 1, 2, 3, 4, 5 };
     int[] result = LeftRotation.leftRotation(input, 4);
     foreach (int i in result)
     {
         Console.WriteLine(i);
     }
 }
예제 #2
0
        public static void Main(string[] args)
        {
            LeftRotation test = new LeftRotation();
            //test.Run();                                 // Timed out on last two

            Anagram test2 = new Anagram();
            //test2.Run();                                  // Full complete

            FibonacciCalculator test3 = new FibonacciCalculator();
            //test3.Run();

            RansomNote test4 = new RansomNote();
            //test4.Run();

            LonelyInteger test5 = new LonelyInteger();
            //test5.Run();
        }