Skip to content

Commit d3e065f

Browse files
committed
chore: archive 2022
Signed-off-by: Lakshya Singh <[email protected]>
1 parent 08891a3 commit d3e065f

26 files changed

+46
-18
lines changed
File renamed without changes.
File renamed without changes.

2022/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/target
2+
/data
File renamed without changes.

Cargo.lock 2022/Cargo.lock

File renamed without changes.

Cargo.toml 2022/Cargo.toml

File renamed without changes.

2022/README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Advent of Code
2+
Advent of Code 2022 🎄 Rust Solutions by
3+
`@king-11` 😊 [Twitter](https://twitter.com/1108King) | [Github](https://github.com/king-11) | [Instagram](https://instagram.com/cryptic_sniper)
4+
5+
6+
## What is Advent of Code?
7+
[Advent of Code](http://adventofcode.com) is an online event created by [Eric Wastl](https://twitter.com/ericwastl). Each year, starting on Dec 1st, an advent calendar of small programming puzzles are unlocked once a day at midnight (EST/UTC-5). Developers of all skill sets are encouraged to solve them in any programming language they choose!
8+
9+
You don't need a computer science background to participate - just a little programming knowledge and some problem solving skills will get you pretty far. Nor do you need a fancy computer; every problem has a solution that completes in at most 15 seconds on ten-year-old hardware.
10+
11+
If you'd like to support Advent of Code, you can do so indirectly by helping to [Share](https://adventofcode.com/2020/about) it with others, or directly via [PayPal](https://www.paypal.com/webapps/shoppingcart?flowlogging_id=482758c113636&mfid=1607161233294_482758c113636#/checkout/openButton) or [Coinbase](https://adventofcode.com/2020/support/coinbase).
12+
13+
Advent of Code is a registered trademark in the United States.
14+
15+
## Story
16+
17+
Santa's reindeer typically eat regular reindeer food, but they need a lot of magical energy to deliver presents on Christmas. For that, their favorite snack is a special type of star fruit that only grows deep in the jungle. The Elves have brought you on their annual expedition to the grove where the fruit grows.
18+
19+
To supply enough magical energy, the expedition needs to retrieve a minimum of fifty stars by December 25th. Although the Elves assure you that the grove has plenty of fruit, you decide to grab any fruit you see along the way, just in case.
20+
21+
Collect stars by solving puzzles. Two puzzles will be made available on each day in the Advent calendar; the second puzzle is unlocked when you complete the first. Each puzzle grants one star. Good luck!
22+
23+
## My Solutions
24+
25+
| Day | Part One | Part Two |
26+
|---|:---:|:---:|
27+
|[Day 1: Calorie Counting](https://github.com/king-11/AdventOfCode/tree/main/src/day1.rs)| 🌟 | 🌟 |
28+
|[Day 2: Rock Paper Scissors](https://github.com/king-11/AdventOfCode/tree/main/src/day2.rs)| 🌟 | 🌟 |
29+
|[Day 3: Rucksack Reorganization](https://github.com/king-11/AdventOfCode/tree/main/src/day3.rs)| 🌟 | 🌟 |
30+
|[Day 4: Camp Cleanup](https://github.com/king-11/AdventOfCode/tree/main/src/day4.rs)| 🌟 | 🌟 |
31+
|[Day 5: Supply Stacks](https://github.com/king-11/AdventOfCode/tree/main/src/day5.rs)| 🌟 | 🌟 |
32+
|[Day 6: Tuning Trouble](https://github.com/king-11/AdventOfCode/tree/main/src/day6.rs)| 🌟 | 🌟 |
33+
|[Day 7: No Space Left On Device](https://github.com/king-11/AdventOfCode/tree/main/src/day7.rs)| 🌟 | 🌟 |
34+
|[Day 8: Treetop Tree House](https://github.com/king-11/AdventOfCode/tree/main/src/day8.rs)| 🌟 | 🌟 |
35+
|[Day 9: Rope Bridge](https://github.com/king-11/AdventOfCode/tree/main/src/day9.rs)| 🌟 | 🌟 |
36+
|[Day 10: Cathode-Ray Tube](https://github.com/king-11/AdventOfCode/tree/main/src/day10.rs)| 🌟 | 🌟 |
37+
|[Day 11: Monkey in the Middle](https://github.com/king-11/AdventOfCode/tree/main/src/day11.rs)| 🌟 | 🌟 |
38+
|[Day 12: Hill Climbing Algorithm](https://github.com/king-11/AdventOfCode/tree/main/src/day12.rs)| 🌟 | 🌟 |
39+
|[Day 13: Distress Signal](https://github.com/king-11/AdventOfCode/tree/main/src/day13.rs)| 🌟 | 🌟 |
40+
|[Day 14: Regolith Reservoir](https://github.com/king-11/AdventOfCode/tree/main/src/day14.rs)| 🌟 | 🌟 |
41+
|[Day 15: Beacon Exclusion Zone](https://github.com/king-11/AdventOfCode/tree/main/src/day15.rs)| 🌟 | 🌟 |
42+
|[Day 16: Proboscidea Volcanium](https://github.com/king-11/AdventOfCode/tree/main/src/day16.rs)| 🌟 | 🌟 |

src/day1.rs 2022/src/day1.rs

File renamed without changes.

src/day10.rs 2022/src/day10.rs

File renamed without changes.

src/day11.rs 2022/src/day11.rs

File renamed without changes.

src/day12.rs 2022/src/day12.rs

File renamed without changes.

src/day13.rs 2022/src/day13.rs

File renamed without changes.

src/day14.rs 2022/src/day14.rs

File renamed without changes.

src/day15.rs 2022/src/day15.rs

File renamed without changes.

src/day16.rs 2022/src/day16.rs

File renamed without changes.

src/day17.rs 2022/src/day17.rs

File renamed without changes.

src/day2.rs 2022/src/day2.rs

File renamed without changes.

src/day3.rs 2022/src/day3.rs

File renamed without changes.

src/day4.rs 2022/src/day4.rs

File renamed without changes.

src/day5.rs 2022/src/day5.rs

File renamed without changes.

src/day6.rs 2022/src/day6.rs

File renamed without changes.

src/day7.rs 2022/src/day7.rs

File renamed without changes.

src/day8.rs 2022/src/day8.rs

File renamed without changes.

src/day9.rs 2022/src/day9.rs

File renamed without changes.

src/main.rs 2022/src/main.rs

File renamed without changes.

README.md

+2-18
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,13 @@ Advent of Code is a registered trademark in the United States.
1414

1515
## Story
1616

17-
Santa's reindeer typically eat regular reindeer food, but they need a lot of magical energy to deliver presents on Christmas. For that, their favorite snack is a special type of star fruit that only grows deep in the jungle. The Elves have brought you on their annual expedition to the grove where the fruit grows.
17+
Something is wrong with global snow production, and you've been selected to take a look. The Elves have even given you a map; on it, they've used stars to mark the top fifty locations that are likely to be having problems.
1818

19-
To supply enough magical energy, the expedition needs to retrieve a minimum of fifty stars by December 25th. Although the Elves assure you that the grove has plenty of fruit, you decide to grab any fruit you see along the way, just in case.
19+
You've been doing this long enough to know that to restore snow operations, you need to check all fifty stars by December 25th.
2020

2121
Collect stars by solving puzzles. Two puzzles will be made available on each day in the Advent calendar; the second puzzle is unlocked when you complete the first. Each puzzle grants one star. Good luck!
2222

2323
## My Solutions
2424

2525
| Day | Part One | Part Two |
2626
|---|:---:|:---:|
27-
|[Day 1: Calorie Counting](https://github.com/king-11/AdventOfCode/tree/main/src/day1.rs)| 🌟 | 🌟 |
28-
|[Day 2: Rock Paper Scissors](https://github.com/king-11/AdventOfCode/tree/main/src/day2.rs)| 🌟 | 🌟 |
29-
|[Day 3: Rucksack Reorganization](https://github.com/king-11/AdventOfCode/tree/main/src/day3.rs)| 🌟 | 🌟 |
30-
|[Day 4: Camp Cleanup](https://github.com/king-11/AdventOfCode/tree/main/src/day4.rs)| 🌟 | 🌟 |
31-
|[Day 5: Supply Stacks](https://github.com/king-11/AdventOfCode/tree/main/src/day5.rs)| 🌟 | 🌟 |
32-
|[Day 6: Tuning Trouble](https://github.com/king-11/AdventOfCode/tree/main/src/day6.rs)| 🌟 | 🌟 |
33-
|[Day 7: No Space Left On Device](https://github.com/king-11/AdventOfCode/tree/main/src/day7.rs)| 🌟 | 🌟 |
34-
|[Day 8: Treetop Tree House](https://github.com/king-11/AdventOfCode/tree/main/src/day8.rs)| 🌟 | 🌟 |
35-
|[Day 9: Rope Bridge](https://github.com/king-11/AdventOfCode/tree/main/src/day9.rs)| 🌟 | 🌟 |
36-
|[Day 10: Cathode-Ray Tube](https://github.com/king-11/AdventOfCode/tree/main/src/day10.rs)| 🌟 | 🌟 |
37-
|[Day 11: Monkey in the Middle](https://github.com/king-11/AdventOfCode/tree/main/src/day11.rs)| 🌟 | 🌟 |
38-
|[Day 12: Hill Climbing Algorithm](https://github.com/king-11/AdventOfCode/tree/main/src/day12.rs)| 🌟 | 🌟 |
39-
|[Day 13: Distress Signal](https://github.com/king-11/AdventOfCode/tree/main/src/day13.rs)| 🌟 | 🌟 |
40-
|[Day 14: Regolith Reservoir](https://github.com/king-11/AdventOfCode/tree/main/src/day14.rs)| 🌟 | 🌟 |
41-
|[Day 15: Beacon Exclusion Zone](https://github.com/king-11/AdventOfCode/tree/main/src/day15.rs)| 🌟 | 🌟 |
42-
|[Day 16: Proboscidea Volcanium](https://github.com/king-11/AdventOfCode/tree/main/src/day16.rs)| 🌟 | 🌟 |

0 commit comments

Comments
 (0)