Class SolutionDay24

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

public class SolutionDay24 extends BaseSolution
  • Constructor Details

  • Method Details

    • 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)
      This isn't really a "solution" so much as it's a program that will construct half-adders and then look backwards from the outputs and find setups that seem sus. Just ctrl+F and use your knowledge of math circuits to figure out what wires need to be swapped around
      Specified by:
      partTwo in class BaseSolution
      Parameters:
      input - the PuzzleInput to be used for the solution
      Returns:
      string with a list of sus wires