Exemplo n.º 1
0
        public int Solution(string input)
        {
            (int Start, int End)passwordsRange = passwordsRangeRepository.GetPasswordsRange(input);
            int differentPasswordsWithinRangeWhichMeetCriteria =
                passwords.CountDifferentPasswordsWithinRangeWhichMeetCriteria(passwordsRange, true);

            return(differentPasswordsWithinRangeWhichMeetCriteria);
        }