Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Advent Of Code 2015, 2016, 2017 solution in Rust β˜ƒοΈπŸŽ„πŸŽπŸ¦ŒπŸŽ…

License

Notifications You must be signed in to change notification settings

alokmenghrajani/adventofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

65 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AdventOfCode

My (commented) solutions to AoC 2015-2017 in Rust.

       o
      /|\
     //|\\
    ///|\\\
   ////|\\\\
  /////|\\\\\
  0 0 ||| 0 0
    __|||__

Running

cargo run <year> <day>

Noteworthy

For assembunny (days 12 & 23 in 2016), I implemented a JIT VM. It sounds crazy (and totally overkill), but it was a lot of fun :)

Other random remarks

  • Writing the input parsing code takes a whole bunch of time. I should do something about that.
  • I should look for duplicated logic and refactor code to leverage some utility code. E.g. wrap-around slice/vector might be useful for a bunch of puzzles.
  • I still feel I'm sometimes fighting the borrow checker. I need to work on my Rust skills, and perhaps do some things differently.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.