Ejemplo n.º 1
0
        public static void Test()
        {
            Solution s = new Solution();

            //Console.WriteLine(s.NumPoints());

            Console.WriteLine(s.IncreasingTriplet(new int[] { 1, 1, -2, 6 }));
            //Console.WriteLine(s.IncreasingTriplet(new int[] { 1, 2, 3, 4, 5 }));
            //Console.WriteLine(s.IncreasingTriplet(new int[] { 5, 4, 3, 2, 1 }));
            //Console.WriteLine(s.IncreasingTriplet(new int[] { 2, 1, 5, 0, 4, 6 }));
        }