public static void Test()
        {
            Solution s = new Solution();

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

            Console.WriteLine(s.MaxDistance(new int[] { 1, 2, 3, 4, 7 }, 3));
            Console.WriteLine(s.MaxDistance(new int[] { 79, 74, 57, 22 }, 4));
        }