Skip to content

elastic/adventofcode_2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

adventofcode_2023

Advent of Code Python Challenge

Event Details

The event will run from December 1st at Midnight EST (UTC-5) to December 21st Midnight EST (UTC-5).

Each day at midnight EST Starting December 1st through December 25th, there will be a new puzzle released on Advent of Code. They will increasingly get harder each day. 😁

Getting Started

We will be using Google Collab for a managed code environment.

Setup

adventofcode.com
  1. Go to adventofcode.com/2023
  2. Click on the line corresponding to the day/puzzle you want to work on
  3. Read the Puzzle Primer
  4. Click get your puzzle input near the bottom
  5. Copy & Paste the input into a text file for use later
  6. Optionally, if you'd like to see your self on the global leaderboard, you can head to the bottom of the page and log in with your preferred method.
Repo
  1. Fork this repo!
  2. In your forked repo click on main.ipynb, then click Open in Colab.
  3. On the left bar, click the file icon, then the first icon under Files with the up arrow on it.
  4. Navigate to the file on your local machine and upload it.
  5. Get started solving the puzzle!

A hint to get started, the text file will be available at path /content/<your_file>.txt and can be referenced in code something like this:

with open("/content/day1.txt", "r") as input:
  print(input.read(100))

This will read the first 100 characters in the file and print them to the console for you to inspect.

Rules

  • You many only use Python 3 and Standard Python Libraries, no Python Packages are allowed!
  • No AI or GenAI, it will help you be faster at coding once you are proficient, but really slows down the learning process for those working to become proficient.
  • For a challenge to be considered complete you must have the code and solution in your forked repo.
    • File > Save A Copy in Github (this saves changes back in Github on your forked branch).
  • Fastest Runtime Challenge
    • The hardest challenge completed
    • More than 1 answer submitted

Prizes

There will be prizes!

  • Most Challenges Completed
  • Most Efficient Code
  • Fewest Lines
  • Fastest Runtime

Bonus Challenge

Pick any tool you are familiar with, anything from a calculator to Excel to SQL to Mulesoft and try to solve the problem once you've done it on Python.

About

Advent of Code Python Challenge

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published