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

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

            Console.WriteLine(s.MaximumUniqueSubarray(new[] { 4, 2, 4, 5, 6 }));
            Console.WriteLine(s.MaximumUniqueSubarray(new[] { 5, 2, 1, 2, 5, 2, 1, 2, 5 }));
        }