A repo for my solutions to the 2019 edition of Advent of Code. I'm using TypeScript.
From the website:
"Advent of Code is an Advent calendar of small programming puzzles
for a variety of skill sets and skill levels that can be solved in
any programming language you like. People use them as a speed
contest, interview prep, company training, university coursework,
practice problems, or to challenge each other."
I'm in a friendly competition for this year with some of my co-workers at CCRi.
- Day 1
- Day 2
- Day 3
- Day 4
- Day 5
- Day 6
- Day 7
- Day 8
- Day 9
- Day 10
- Day 11
- Day 12
- Day 13
- Day 14
- Day 15
- Day 16
- Day 17
- Day 18
- Day 19
- Day 20
- Day 21
- Day 22
- Day 23
- Day 24
- 🎄 Day 25 🎁
I used ts-node
for a REPL and also to execute the TypeScript files, usually console.log()
'ing the answers. To do the same, run:
git clone https://github.com/jdk2pq/adventOfCode2019.git
cd adventOfCode2019
yarn
cd {dayYouWantToRun}
yarn ts-node {partYouWantToRun}.ts
Each day also has a README
in the directory with commands to run the code.
...teach me how to do things better! 😃 I welcome any and all feedback/criticism/critiques/helpful notes/anything really!
The code in this repo is not cleaned up at all, nor attempting to be the most efficient as possible. It's just me trying to quickly code up a solution to get to the correct answer, since the amount of points I get on the leaderboard corresponds with how quickly I answer the problem.
Also, to co-workers, friends, family, recruiters?: this is not an accurate representation of how my code at my job looks. It's actually much better than my code at work. (just kidding 😆)
MIT License. Copyright (c) 2019 Jake Kenneally.
Really, just feel free to use and remix as you want. I don't need credit, but it'd be awesome if you gave it!