Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

22a/advent2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2017

This repo contains my solutions to the Advent of Code 2017 problems.

Directory structure

I'll be adding a directory for each day 1..25 and storing inside:

  1. The Problem Descriptions
  2. The Problem Inputs (if any)
  3. A directory for each language
    • and maybe a .gitignore or other supporting material for running that language

Approach to problems

My general approach is to solve the problem in a boring language (to serve as pseudocode to make sure I actually understand the problem), I'll submit the solution to get some stars, and then I'll port/rewrite it into a more interesting language.

Generic solutions?

I'm not super concerned with making the solutions generic (work for all inputs), rather I just want to get it working and learn what I can from the problem itself rather than solving edge cases. This may end up biting me in the later non trivial problems but we'll cross that puddle of milk when we come to it. I have, however, been leaving comments in places where I've cut corners that would make the solution fragile for inputs other than the examples provided.

Tests?

Test would likely be very helpful, but for most of the languages I'm using here it takes me a good deal of time to figure out how to compile/run them so figuring out the correct way to test them would take a disproportionate amount of time.

Advent

Day Part Language(s)
1 1 JavaScript, OCaml, Perl
1 2 JavaScript, OCaml, Perl
2 1 JavaScript, Clojure
2 2 JavaScript, Clojure
3 1 JavaScript, C
3 2 JavaScript, C

About

moved to https://github.com/22a/advent

Resources

Stars

Watchers

Forks

Contributors