Giter Site home page Giter Site logo

code-shoily / aocgo Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 659 KB

Advent of Code problems solved with Go

Go 100.00%
advent-of-code advent-of-code- advent-of-code-2015 advent-of-code-2016 advent-of-code-2017 advent-of-code-2018 advent-of-code-2019 advent-of-code-2020 advent-of-code-2021 algorithms-and-data-structures golang

aocgo's Introduction

aocgo - Advent of Code solutions in Go

What is Advent of Code?

This. Every year since 2015, starting December 1 to 25, 25 small programming problems are presented on http://adventofcode.com. The challenges are fun to solve in programming language of your choice. I mostly solved those with Elixir in the past, but am looking forward to play with Golang in future challenges. And as I am trying really learn Go, I felt like I should backfill the old challenges throughout 2023.

More about Advent of Code here: https://adventofcode.com/2022/about.

How do I run these?

  • To create stubs for solving for instance, 2022/1, run: go run main.go gen 2022 1 (also g instead of gen)
  • To run solution for the same, run: go run main.go solve 2022 1 (also run, r or s instead of solve)

Note: The additional commands (i.e. run, g etc) are there because when I am rapidly testing solutions, I have often typed those and failed. So totally for my convenience that one.

Note, empty input.txt is create after gen (or g) command for now. You will need to copy/paste the input data to the file.

FAQ

What version of Go do I need to use for these?

I am using embed and generics to solve problems. So at least go 1.18 is needed to run these.

Progress - 157 of 450

Day 2015 2016 2017 2018 2019 2020 2021 2022 2023
โญ 37 26 15 11 12 18 19 15 2
1 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
2 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
3 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
4 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
5 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
6 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
7 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅˆ ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
8 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
9 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
10 ๐Ÿฅ‡ ๐Ÿฅ‡
11 ๐Ÿฅ‡ ๐Ÿฅ‡
12 ๐Ÿฅ‡ ๐Ÿฅ‡ ๐Ÿฅ‡
13 ๐Ÿฅ‡ ๐Ÿฅ‡
14 ๐Ÿฅ‡
15 ๐Ÿฅ‡
16 ๐Ÿฅ‡
17 ๐Ÿฅ‡
18
19
20 ๐Ÿฅ‡ ๐Ÿฅ‡
21 ๐Ÿฅ‡
22
23 ๐Ÿฅˆ
24 ๐Ÿฅ‡
25 ๐Ÿฅˆ ๐Ÿฅˆ ๐Ÿฅˆ ๐Ÿฅˆ ๐Ÿฅˆ

aocgo's People

Contributors

code-shoily avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aocgo's Issues

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.