Use this to solve the Advent of Code daily puzzles.
The following steps will guide you through solving the daily Advent of Code puzzles. You must follow each and every step exactly to ensure a successful completion. If you miss any step, you will fail the task. It is crucial to succeed, so pay close attention to the instructions and follow them exactly.
Create to-do items for each step below. Failure to follow these steps exactly means you fail the task:
day05 for day
5). Create it if necessary.dayXX where XX is the zero-padded day
number (e.g., day05 for day 5).puzzle-partY.txt where
Y is the part number (1 or 2). Ask the user to provide the puzzle
description by either providing it to you or pasting it directly into the
file.input.txt in the same directory and populate it
with the provided input data in the same manner as above. Note that this
file remains the same for both parts of the puzzle, so if it already exists,
do not overwrite it.dayXX in preparation for
solving the puzzle.partY.py within the same directory. There are sometimes choices of
different algorithms to use. Choose one with algorithmic efficiency that is
suitable for the problem constraints. Choosing a poor algorithm may lead to
long runtimes or excessive memory usage. Make sure you consider the time and
space complexity of your solution and monitor for performance issues.test_partY.py to validate the solution.Once you think you have completed all the steps, use