Skip to content

Commit de835b6

Browse files
committed
Implement markdownlint suggestions
1 parent bd136ea commit de835b6

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

advent-of-code/2018/day-01/README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ After feeling like you've been falling for a few minutes, you look at the device
44

55
For example, if the device displays frequency changes of `+1, -2, +3, +1`, then starting from a frequency of zero, the following changes would occur:
66

7-
- Current frequency ` 0`, change of `+1`; resulting frequency ` 1`.
8-
- Current frequency ` 1`, change of `-2`; resulting frequency `-1`.
9-
- Current frequency `-1`, change of `+3`; resulting frequency ` 2`.
10-
- Current frequency ` 2`, change of `+1`; resulting frequency ` 3`.
7+
- Current frequency `0`, change of `+1`; resulting frequency `1`.
8+
- Current frequency `1`, change of `-2`; resulting frequency `-1`.
9+
- Current frequency `-1`, change of `+3`; resulting frequency `2`.
10+
- Current frequency `2`, change of `+1`; resulting frequency `3`.
1111

1212
In this example, the resulting frequency is `3`.
1313

1414
Here are other example situations:
1515

16-
- `+1, +1, +1` results in ` 3`
17-
- `+1, +1, -2` results in ` 0`
16+
- `+1, +1, +1` results in `3`
17+
- `+1, +1, -2` results in `0`
1818
- `-1, -2, -3` results in `-6`
1919

2020
Starting with a frequency of zero, **what is the resulting frequency** after all of the changes in frequency have been applied?
@@ -25,13 +25,13 @@ You notice that the device repeats the same frequency change list over and over.
2525

2626
For example, using the same list of changes above, the device would loop as follows:
2727

28-
- Current frequency ` 0`, change of `+1`; resulting frequency ` 1`.
29-
- Current frequency ` 1`, change of `-2`; resulting frequency `-1`.
30-
- Current frequency `-1`, change of `+3`; resulting frequency ` 2`.
31-
- Current frequency ` 2`, change of `+1`; resulting frequency ` 3`.
28+
- Current frequency `0`, change of `+1`; resulting frequency `1`.
29+
- Current frequency `1`, change of `-2`; resulting frequency `-1`.
30+
- Current frequency `-1`, change of `+3`; resulting frequency `2`.
31+
- Current frequency `2`, change of `+1`; resulting frequency `3`.
3232
- (At this point, the device continues from the start of the list.)
33-
- Current frequency ` 3`, change of `+1`; resulting frequency ` 4`.
34-
- Current frequency ` 4`, change of `-2`; resulting frequency ` 2`, which has already been seen.
33+
- Current frequency `3`, change of `+1`; resulting frequency `4`.
34+
- Current frequency `4`, change of `-2`; resulting frequency `2`, which has already been seen.
3535

3636
In this example, the first frequency reached twice is `2`. Note that your device might need to repeat its list of frequency changes many times before a duplicate frequency is found, and that duplicates might be found while in the middle of processing the list.
3737

advent-of-code/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# :christmas_tree: Advent of Code
22

3-
[Advent of Code](http://adventofcode.com) is an event where each year, starting on December 1st and ending on December 25th, a new programming puzzle is posted once a day. Advent of Code began in 2015.
3+
[Advent of Code](https://adventofcode.com/) is an event where each year, starting on December 1st and ending on December 25th, a new programming puzzle is posted once a day. Advent of Code began in 2015.
44

55
## Index
66

@@ -11,3 +11,4 @@
1111
| [2017](2017/) | JS | **06** / 25 |
1212
| [2018](2018/) | JS | **09** / 25 |
1313
| [2019](2019/) | Python | **04** / 25 |
14+
| [2020](2020/) | TS | **00** / 25 |

leetcode/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# LeetCode Solutions
2+
23
My solutions to the problems on https://leetcode.com/problemset/all/
34

45
## Problems

0 commit comments

Comments
 (0)