Example #1
0
        public int Solution(string input)
        {
            List <IBotInstruction> botsInstructions = botsInstructionsRepository.GetBotsInstructions(input);
            int botNumberWhichComparesChips         = handChips.FirstThreeOutputsProduct(botsInstructions);

            return(botNumberWhichComparesChips);
        }
Example #2
0
        public int Solution(string input)
        {
            List <IBotInstruction> botsInstructions = botsInstructionsRepository.GetBotsInstructions(input);
            int numberOfBotWhichComparesChips       = handChips.NumberOfBotWhichComparesChips(
                botsInstructions,
                lowerValueChip,
                higherValueChip
                );

            return(numberOfBotWhichComparesChips);
        }