Beispiel #1
0
        private int SolvePart1(string input)
        {
            var banks = new MemoryBanks(input);
            var count = banks.Distribute();

            return(count);
        }
Beispiel #2
0
        private int SolvePart2(string input)
        {
            var banks = new MemoryBanks(input);
            var count = banks.DetectLoop();

            return(count);
        }