Skip to content

Commit b7eeddd

Browse files
committed
Add 'back to top' links to walkthroughs
1 parent 64d8b5f commit b7eeddd

File tree

2 files changed

+32
-29
lines changed

2 files changed

+32
-29
lines changed

2019/README.md

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Table of Contents
3333
Day 1 - The Tyranny of the Rocket Equation
3434
------------------------------------------
3535

36-
[Problem statement][d01-problem][Complete solution][d01-solution]
36+
[Problem statement][d01-problem][Complete solution][d01-solution][Back to top][top]
3737

3838
### Part 1
3939

@@ -78,7 +78,7 @@ First puzzle of the year, so not really that much of a challenge, but still fun!
7878
Day 2 - 1202 Program Alarm
7979
--------------------------
8080

81-
[Problem statement][d02-problem][Complete solution][d02-solution]
81+
[Problem statement][d02-problem][Complete solution][d02-solution][Back to top][top]
8282

8383
### Part 1
8484

@@ -162,7 +162,7 @@ print('Part 2:', a * 100 + b)
162162
Day 3 - Crossed Wires
163163
---------------------
164164

165-
[Problem statement][d03-problem][Complete solution][d03-solution]
165+
[Problem statement][d03-problem][Complete solution][d03-solution][Back to top][top]
166166

167167
### Part 1
168168

@@ -274,7 +274,7 @@ print('Part 2:', best)
274274
Day 4 - Secure Container
275275
------------------------
276276

277-
[Problem statement][d04-problem][Complete solution][d04-solution]
277+
[Problem statement][d04-problem][Complete solution][d04-solution][Back to top][top]
278278

279279
### Part 1
280280

@@ -402,7 +402,7 @@ which is what I did in the complete solution linked above.
402402
Day 5 - Sunny with a Chance of Asteroids
403403
----------------------------------------
404404

405-
[Problem statement][d05-problem][Complete solution][d05-solution]
405+
[Problem statement][d05-problem][Complete solution][d05-solution][Back to top][top]
406406

407407
### Part 1
408408

@@ -575,7 +575,7 @@ print('Part 2:', result)
575575
Day 6 - Universal Orbit Map
576576
---------------------------
577577

578-
[Problem statement][d06-problem][Complete solution][d06-solution]
578+
[Problem statement][d06-problem][Complete solution][d06-solution][Back to top][top]
579579

580580
### Part 1
581581

@@ -720,7 +720,7 @@ print('Part 2:', min_transfers)
720720
Day 7 - Amplification Circuit
721721
-----------------------------
722722

723-
[Problem statement][d07-problem][Complete solution][d07-solution]
723+
[Problem statement][d07-problem][Complete solution][d07-solution][Back to top][top]
724724

725725
### A working Intcode VM
726726

@@ -881,7 +881,7 @@ written easily extensible code for the VM would have been an annoyance too.
881881
Day 8 - Space Image Format
882882
--------------------------
883883

884-
[Problem statement][d08-problem][Complete solution][d08-solution]
884+
[Problem statement][d08-problem][Complete solution][d08-solution][Back to top][top]
885885

886886
### Part 1
887887

@@ -992,7 +992,7 @@ Now that's readable, and we successfully got our part 2 answer!
992992
Day 9 - Sensor Boost
993993
--------------------
994994

995-
[Problem statement][d09-problem][Complete solution][d09-solution]
995+
[Problem statement][d09-problem][Complete solution][d09-solution][Back to top][top]
996996

997997
### Prerequisites
998998

@@ -1219,7 +1219,7 @@ And there it is, day 9 completed and we now have a complete Intcode VM! Nice.
12191219
Day 10 - Monitoring Station
12201220
---------------------------
12211221

1222-
[Problem statement][d10-problem][Complete solution][d10-solution]
1222+
[Problem statement][d10-problem][Complete solution][d10-solution][Back to top][top]
12231223

12241224
### Part 1
12251225

@@ -1419,7 +1419,7 @@ print('Part 2:', answer)
14191419
Day 11 - Space Police
14201420
---------------------
14211421

1422-
[Problem statement][d11-problem][Complete solution][d11-solution]
1422+
[Problem statement][d11-problem][Complete solution][d11-solution][Back to top][top]
14231423

14241424
### Prerequisites
14251425

@@ -1591,7 +1591,7 @@ And today's puzzle is completed!
15911591
Day 12 - The N-Body Problem
15921592
---------------------------
15931593

1594-
[Problem statement][d12-problem][Complete solution][d12-solution]
1594+
[Problem statement][d12-problem][Complete solution][d12-solution][Back to top][top]
15951595

15961596
### Part 1
15971597

@@ -1822,7 +1822,7 @@ tailored to be solvable. Quite interesting!
18221822
Day 13 - Care Package
18231823
---------------------
18241824

1825-
[Problem statement][d13-problem][Complete solution][d13-solution]
1825+
[Problem statement][d13-problem][Complete solution][d13-solution][Back to top][top]
18261826

18271827
### Prerequisites
18281828

@@ -1977,7 +1977,7 @@ get our answer as expected.
19771977
Day 14 - Space Stoichiometry
19781978
----------------------------
19791979

1980-
[Problem statement][d14-problem][Complete solution][d14-solution]
1980+
[Problem statement][d14-problem][Complete solution][d14-solution][Back to top][top]
19811981

19821982
### Part 1
19831983

@@ -2154,7 +2154,7 @@ Quite messy, right?
21542154
Day 15 - Oxygen System
21552155
----------------------
21562156

2157-
[Problem statement][d15-problem][Complete solution][d15-solution]
2157+
[Problem statement][d15-problem][Complete solution][d15-solution][Back to top][top]
21582158

21592159
### Prerequisites
21602160

@@ -2439,7 +2439,7 @@ print('Part 2:', time)
24392439
Day 16 - Flawed Frequency Transmission
24402440
--------------------------------------
24412441

2442-
[Problem statement][d16-problem][Complete solution][d16-solution]
2442+
[Problem statement][d16-problem][Complete solution][d16-solution][Back to top][top]
24432443

24442444
### Part 1
24452445

@@ -2703,7 +2703,7 @@ sad :(.
27032703
Day 17 - Set and Forget
27042704
-----------------------
27052705

2706-
[Problem statement][d17-problem][Complete solution][d17-solution]
2706+
[Problem statement][d17-problem][Complete solution][d17-solution][Back to top][top]
27072707

27082708
### Prerequisites
27092709

@@ -3035,7 +3035,7 @@ print('Part 2:', answer)
30353035
Day 18 - Many-Worlds Interpretation
30363036
-----------------------------------
30373037

3038-
[Problem statement][d18-problem][Complete solution][d18-solution]
3038+
[Problem statement][d18-problem][Complete solution][d18-solution][Back to top][top]
30393039

30403040
### Part 1
30413041

@@ -3610,7 +3610,7 @@ Beautiful! Another two stars to add to our collection.
36103610
Day 19 - Tractor Beam
36113611
---------------------
36123612

3613-
[Problem statement][d19-problem][Complete solution][d19-solution]
3613+
[Problem statement][d19-problem][Complete solution][d19-solution][Back to top][top]
36143614

36153615
### Prerequisites
36163616

@@ -3884,7 +3884,7 @@ a fraction of a second!
38843884
Day 20 - Donut Maze
38853885
-------------------
38863886

3887-
[Problem statement][d20-problem][Complete solution][d20-solution]
3887+
[Problem statement][d20-problem][Complete solution][d20-solution][Back to top][top]
38883888

38893889
### Part 1
38903890

@@ -4288,7 +4288,7 @@ twice, so the code runs nice and fast either way.
42884288
Day 21 - Springdroid Adventure
42894289
------------------------------
42904290

4291-
[Problem statement][d21-problem][Complete solution][d21-solution]
4291+
[Problem statement][d21-problem][Complete solution][d21-solution][Back to top][top]
42924292

42934293
### Prerequisites
42944294

@@ -4586,7 +4586,7 @@ other side, and we get our part 2 solution.
45864586
Day 22 - Slam Shuffle
45874587
---------------------
45884588

4589-
[Problem statement][d22-problem][Complete solution][d22-solution]
4589+
[Problem statement][d22-problem][Complete solution][d22-solution][Back to top][top]
45904590

45914591
### Part 1
45924592

@@ -5095,7 +5095,7 @@ subjective.
50955095
Day 23 - Category Six
50965096
---------------------
50975097

5098-
[Problem statement][d23-problem][Complete solution][d23-solution]
5098+
[Problem statement][d23-problem][Complete solution][d23-solution][Back to top][top]
50995099

51005100
### Prerequisites
51015101

@@ -5358,7 +5358,7 @@ Welcome to *IntcodeNET* I guess!
53585358
Day 24 - Planet of Discord
53595359
--------------------------
53605360

5361-
[Problem statement][d24-problem][Complete solution][d24-solution]
5361+
[Problem statement][d24-problem][Complete solution][d24-solution][Back to top][top]
53625362

53635363
### Part 1
53645364

@@ -5674,6 +5674,7 @@ Yeah, that triple nested [`sum()`][py-builtin-sum] is pretty funny, isn't it?
56745674
Day 24 completed, only one left!
56755675

56765676

5677+
[top]: #advent-of-code-2019-walkthrough
56775678
[d01]: #day-1---the-tyranny-of-the-rocket-equation
56785679
[d02]: #day-2---1202-program-alarm
56795680
[d03]: #day-3---crossed-wires

2020/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Table of Contents
1414
Day 1 - Report Repair
1515
---------------------
1616

17-
[Problem statement][d01-problem][Complete solution][d01-solution]
17+
[Problem statement][d01-problem][Complete solution][d01-solution][Back to top][top]
1818

1919
### Part 1
2020

@@ -189,7 +189,7 @@ must be `True` and the other one must be `False`.
189189
Day 3 - Toboggan Trajectory
190190
---------------------------
191191

192-
[Problem statement][d03-problem][Complete solution][d03-solution]
192+
[Problem statement][d03-problem][Complete solution][d03-solution][Back to top][top]
193193

194194
### Part 1
195195

@@ -291,7 +291,7 @@ And that's six out of fifty stars!
291291
Day 4 - Passport Processing
292292
---------------------------
293293

294-
[Problem statement][d04-problem][Complete solution][d04-solution]
294+
[Problem statement][d04-problem][Complete solution][d04-solution][Back to top][top]
295295

296296
### Part 1
297297

@@ -465,7 +465,7 @@ code looks nice nonetheless!
465465
Day 5 - Binary Boarding
466466
-----------------------
467467

468-
[Problem statement][d05-problem][Complete solution][d05-solution]
468+
[Problem statement][d05-problem][Complete solution][d05-solution][Back to top][top]
469469

470470
### Part 1
471471

@@ -676,7 +676,7 @@ sad, huh? The slowness of interpreted languages!
676676
Day 6 - Custom Customs
677677
----------------------
678678

679-
[Problem statement][d06-problem][Complete solution][d06-solution]
679+
[Problem statement][d06-problem][Complete solution][d06-solution][Back to top][top]
680680

681681
### Part 1
682682

@@ -921,12 +921,14 @@ n_all_yes = sum(map(len, map(intersect, groups)))
921921
```
922922

923923

924+
[top]: #advent-of-code-2020-walkthrough
924925
[d01]: #day-1---report-repair
925926
[d02]: #day-2---password-philosophy
926927
[d03]: #day-3---toboggan-trajectory
927928
[d04]: #day-4---passport-processing
928929
[d05]: #day-5---binary-boarding
929930
[d06]: #day-6---custom-customs
931+
930932
[d01-problem]: https://adventofcode.com/2020/day/1
931933
[d02-problem]: https://adventofcode.com/2020/day/2
932934
[d03-problem]: https://adventofcode.com/2020/day/3

0 commit comments

Comments
 (0)