Giter VIP home page Giter VIP logo

adventofcode2022's Introduction

Advent Of Code 2022

license report

Advent Of Code 2022 solution in Go.

Introduction

Advent of Code is an annual speed programming competition. Unlike several other competitions, you only need to submit the solution for one specific input. As a result, code which doesn't handle every edge case can sometimes still win!

My goal this year is just to have fun. Not trying to improve specific knowledge or get on the leaderboard.

This repo contains my solutions with little cleanup. I don't bother commenting my code. I do sometimes go back and rename variables to improve clarity.

I hope looking at my code will help you learn a trick or two, just as looking at other people's solutions has helped me.

Previous years

  1. I did fairly well in 2016 and 2017 using PHP, getting on the leaderboard almost each day.
  2. In 2018, I tried to solve each puzzle using a FPGA and forbidding myself from implementing a general purpose processor. I consider the endeavour a failure, achieving only 4 solutions.
  3. I retroactively solved 2015, 2016, 2017 without any time pressure in Rust. I attempted to comment my code to the best of my ability.
  4. I retroactively solved 2018 and 2019 using Go.
  5. In 2020, I used Go. The event seems to have become way more competitive than previous years -- I only got on the leaderboard twice.
  6. In 2021, I used Go.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.