public int Solution(string input) { string[] strings = stringsRepository.GetStrings(input); int stringLiteralsMinusStringMemoryDiff = characters.CalculateStringLiteralsMinusStringMemoryDiff(strings); return(stringLiteralsMinusStringMemoryDiff); }
public int Solution(string input) { string[] strings = stringsRepository.GetStrings(input); int niceStringsCount = niceStrings.CountNiceStringsForPart1Rules(strings, vowels, forbiddenSubstrings); return(niceStringsCount); }
public int Solution(string input) { string[] strings = stringsRepository.GetStrings(input); int niceStringsCount = niceStrings.CountNiceStringsForPart2Rules(strings); return(niceStringsCount); }
public int Solution(string input) { string[] strings = stringsRepository.GetStrings(input); int encodedStringMinusStringLiteralsDiff = characters.CalculateEncodedStringMinusStringLiteralsDiff(strings); return(encodedStringMinusStringLiteralsDiff); }