Introducing Crunchy Data Warehouse: A next-generation Postgres-native data warehouse. Crunchy Data Warehouse Learn more

Posts about Advent of Code

  • 5 min read

    How to Solve Advent of Code 2022 Using Postgres - Day 4

    Greg Sabino Mullane

    This article will contain spoilers both on how I solved 2022 Day 4's challenge "Camp Cleanup" using SQL, as well as general ideas on how to approach the problem. I recommend trying to solve it yourself first, using your favorite language. This article is delayed from the actual puzzle's release. Also note that my solutions are seldom going to be the "best" solutions - they were solved as quickly as possible, and these articles will show my first solutions, with some minor reformatting and clea...

    Read More
  • 7 min read

    How to Solve Advent of Code 2022 Using Postgres - Day 3

    Greg Sabino Mullane

    This article will contain spoilers both on how I solved 2022 Day 3's challenge "Rucksack Reorganization" using SQL, as well as general ideas on how to approach the problem. I recommend trying to solve it yourself first, using your favorite language. This article is delayed from the actual puzzle's release. Also note that my solutions are seldom going to be the "best" solutions - they were solved as quickly as possible, and these articles will show my first solutions, with some minor reformatti...

    Read More
  • 10 min read

    How to Solve Advent of Code 2022 Using Postgres - Day 2

    Greg Sabino Mullane

    This article will contain spoilers both on how I solved 2022 Day 2's challenge " Rock Paper Scissors " using SQL, as well as general ideas on how to approach the problem. I recommend trying to solve it yourself first, using your favorite language. This article is delayed from the actual puzzle's release. Also note that my solutions are seldom going to be the "best" solutions - they were solved as quickly as possible, and these articles will show my first solutions, with some minor reformatting a...

    Read More
  • 4 min read

    How to Solve Advent of Code 2022 Using Postgres - Day 1

    Greg Sabino Mullane

    Time for the annual Advent of Code challenge for 2022! If you are not familiar with AOC, every December a new puzzle is added each day, getting harder as it goes along, and the challenge is to solve it any way you can by transforming an input file into an answer. I'm going to use PostgreSQL and solve things solely with the use of SQL. This article will contain spoilers both on how I solved Day 1's challenge "Calorie Counting" , as well as general ideas on how to approach the problem. I recomm...

    Read More