•
4 min read

Advent of Code 2020

Table of Contents

I discovered Advent of Code in 2018 and ever since then I’ve been very passionate about it. As the website describes it, Advent of Code is “an Advent calendar of small programming puzzles for a variety of skill sets and skill levels”. Personally, I see it as a contest and I use it to improve my problem solving and Python skills.

In my first year, I was very new to Python, so I didn’t focus too much on how my results compared to others’. In total, I managed to collect 45 starts out of 50, and my best rank for both stars was 453 on day 18 - far away from the leaderboard… :)

Last year things improved after becoming more proficient in Python, and using some advice from this article. I managed to collect all 50 stars, my best daily rank for both stars was 195, and I also scored my first points on the global leaderboard, after finishing the first part of day 1 on the 74th place.

Goals and expectations for 2020

As always, I try to get better this year both from a competitive and learning point of view. Here are a few things I will try to achieve in the 2020 edition:

  1. Score more points on the global leaderboard than last year. This is not going to be easy as there are many great competitors out there and last year I felt pretty lucky to score my first points. Nevertheless, I will try to score more than 27 points and to improve my average daily position, which was around 1300 last year.

  2. Post my solutions on Github. I find this a good practice to push myself to review my code every day, spot mistakes, think about how I could have been better, or simply learn something new about Python that could have helped me be quicker.

  3. Stay motivated until the end. Although I really enjoy Advent of Code, and can’t wait for it to start, I found myself less motivated in the last days of the past two editions. One reason is clearly the tight schedule before Christmas: I might not have enough time to finish a puzzle on the day it appears, then the next day I have to solve two, and this can easily produce a snowball effect :) The other reason I guess is the early unlock time of the puzzles. Where I live, the unlock time is 6 AM, which means I have to wake up very early to be ready to solve puzzles. The first days are easy, but I have a hard time being disciplined for 25 days. The goal for this year is to try to solve all the puzzles on the day they appear. Let’s see how disciplined I will be :D

I wrote this post to give myself an actionable plan. If you are a visitor and you participate as well, I would love to hear from you and I would be grateful to get feedback on my solutions.