예제 #1
0
        public void Count_LargeArray_CountInReasonableTime()
        {
            NLogN nLogN = new NLogN();

            int[] input = File.ReadAllLines(@"D:\IntegerArray.txt").Select(int.Parse).ToArray();
            Assert.AreEqual(2407905288, nLogN.Count(input));
        }