Beispiel #1
0
        public string Solution(string input)
        {
            Dictionary <string, Program> programs = programsRepository.GetPrograms(input);
            string bottomProgramName = programsStructure.FindBottomProgramName(programs);

            return(bottomProgramName);
        }
        public int Solution(string input)
        {
            Dictionary <string, Program> programs = programsRepository.GetPrograms(input);
            int unbalancedProgramProperWeight     = programsStructure.FindUnbalancedProgramProperWeight(programs);

            return(unbalancedProgramProperWeight);
        }