Giter Club home page Giter Club logo

adventofcode's People

Contributors

rhermes avatar

Stargazers

 avatar

Watchers

 avatar  avatar

adventofcode's Issues

Make 2015 Day 24 python robust against some inputs

My solution to 2015 Day 24 returns the first solution it finds. In many cases this is right, but there are counter examples:

INPUT: 1 3 5 13 17 23 31 37 53
[1, 23, 37], QE is 851.
[3, 5, 53], QE is 795.

or

INPUT: 1 2 3 6 7 8 9 11 16
[1, 9, 11], QE is 99,
[2, 3, 16], QE is 96.

My initial code can handle this, but my cleaned up version does not. The way to handle this is to keep track of the smallest in the top of the loop and then do the same towards the bottom, but I think this makes the code more ugly, so I'm putting it of until later.

Optimize and Cleanup 2021 Day 19

This is the rotation task. I got this correct with a lot of fiddeling, so this will need some serious cleaning up. I want this to be much better than it currently is.

Optimize and Cleanup 2021 Day 23

This currently runs quite slowly, but it can be sped up a lot, by precomputing the route costs and not running the whole depth search each time.

Write an OCR for 2016 Day 8

The letters are hardcoded here, so I can look at the outputs from other programs and attempt to create a lookup table for the letters. This will allow me to do this without human intervention :)

Cleanup and optimization of 2018 Day 6

This day is currently very slow, especially part two, which currently doesn't finish in reasonable time without pypy. Part one is going to be a bit hard to optimize, so you might want to leave this one for a rainy day.

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.