Class SolutionDay19

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

public class SolutionDay19 extends BaseSolution
  • Constructor Details

  • Method Details

    • numberOfWaysToConstruct

      public long numberOfWaysToConstruct(String pattern, List<String> rugs)
    • partOne

      public Object partOne(PuzzleInput input)
      Description copied from class: BaseSolution
      Logic for part one of the solution. Must be overridden when implementing the solution.
      Specified by:
      partOne in class BaseSolution
      Parameters:
      input - the PuzzleInput to be used for the solution
      Returns:
      output of this part of the solution
    • partTwo

      public Object partTwo(PuzzleInput input)
      Description copied from class: BaseSolution
      Logic for part two of the solution. Must be overridden when implementing the solution.
      Specified by:
      partTwo in class BaseSolution
      Parameters:
      input - the PuzzleInput to be used for the solution
      Returns:
      output of this part of the solution