コード例 #1
0
        public int Test1(int[] arr, int k)
        {
            Solution soln   = new Solution();
            int      answer = soln.ShortestSubarray(arr, k);

            WriteLine("Input: " + PrintArray(arr));
            WriteLine("K: " + k);
            WriteLine("Minlen : " + answer);
            return(answer);
        }