GithubHelp home page GithubHelp logo

fmguerreiro / advent-2020-clojure Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rjray/advent-2020-clojure

0.0 1.0 0.0 46 KB

Advent of Code 2020 Solutions in Clojure

License: Eclipse Public License 2.0

Clojure 100.00%

advent-2020-clojure's Introduction

advent-2020-clojure

This is my code for the 2020 Advent of Code, all solutions in Clojure.

All code is under the src directory. Each solution-file is named dayNN.clj and contains both puzzle solutions for that day. These are the publically-facing functions part-1 and part-2. These files are the code exactly as I used it to solve and submit the answers. If I revisit any of the days and try to clean up or optimize the solutions, that work will be in a separate file that will be named dayNNbis.clj. (Except that I will likely go back and comment the code after the fact, when I'm not racing the clock.)

The resources directory contains the input data for each day. These files are named for the day (dayNN.txt), and files with the example input are named dayNN-example.txt.

The test directory contains unit tests. I'm experimenting with these for the first time this go-around, so I'll say more here once I have a better feel.

Stats

Number of answers correct on first submission: 8/8 (100%)

Highest rank for first half: 2863

Highest rank for second half: 2417

Usage

This project is managed with Leiningen. Running the following will download any dependencies and start a REPL:

lein repl

Credits

This is based on my advent-clojure-basis repository, which itself is based almost entirely on Mitchell Hanburg's Advent of Code Clojure Starter.

License

Copyright © 2020 Randy J. Ray

Distributed under the Eclipse Public License either version 2.0 or (at your option) any later version.

advent-2020-clojure's People

Contributors

rjray avatar

Watchers

 avatar

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.