Class SolutionDay10

java.lang.Object
com.expedient.adventofcodejade.BaseSolution
com.expedient.adventofcodejade.solutions.year2024.SolutionDay10

public class SolutionDay10 extends BaseSolution
  • Constructor Details

  • Method Details

    • partOne

      public Integer partOne(PuzzleInput input)
      Finds the sum of the score of each trailhead found in the input Grid
      Specified by:
      partOne in class BaseSolution
      Parameters:
      input - the PuzzleInput to be used for the solution
      Returns:
      the sum of the scores of each trailhead
    • partTwo

      public Integer partTwo(PuzzleInput input)
      Finds the sum of the number of unique trails that can be taken from each trailhead found in the given input Grid
      Specified by:
      partTwo in class BaseSolution
      Parameters:
      input - the PuzzleInput to be used for the solution
      Returns:
      the sum of the scores of each trailhead