Exemple #1
0
        static void day1Adventure()
        {
            Day1 day1 = new Day1();

            string[] data       = utils.FileUtils.ReadFileData(Consts.dataDay1);
            int[]    numberList = day1.ConvertToIntArray(data);

            Console.WriteLine("First frequency twice: {0}", day1.FirstFrequencyTwice(numberList, 0));
        }