Exemplo n.º 1
0
        public int Solution(string input)
        {
            int[] frequencyChanges = frequencyChangesRepository.GetFrequencyChanges(input);
            int   firstFrequencyDeviceReachesTwice =
                frequency.CalculateFirstFrequencyDeviceReachesTwice(frequencyChanges);

            return(firstFrequencyDeviceReachesTwice);
        }