Skip to content

Commit cc627dc

Browse files
committed
Improve formatting
1 parent e2cfa7c commit cc627dc

File tree

24 files changed

+24
-24
lines changed

24 files changed

+24
-24
lines changed

advent-of-code/2015/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ Each puzzle grants one star. Good luck!
2424
- [Day 11: Corporate Policy](day-11/)
2525
- [Day 12: JSAbacusFramework.io](day-12/)
2626
- [Day 13: Knights of the Dinner Table](day-13/)
27-
- [Day 14: Reindeer Olympics](day-14/)
27+
- [Day 14: Reindeer Olympics](day-14/)

advent-of-code/2016/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Collect stars by solving puzzles. Two puzzles will be made available on each day
1111
- [Day 1: No Time for a Taxicab](day-01/)
1212
- [Day 2: Bathroom Security](day-02/)
1313
- [Day 3: Squares With Three Sides](day-03/)
14-
- [Day 4: Security Through Obscurity](day-04/)
14+
- [Day 4: Security Through Obscurity](day-04/)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Then, you notice the instructions continue on the back of the Recruiting Documen
2020

2121
For example, if your instructions are `R8, R4, R4, R8`, the first location you visit twice is `4` blocks away, due East.
2222

23-
How many blocks away is the **first location you visit twice**?
23+
How many blocks away is the **first location you visit twice**?

advent-of-code/2016/day-02/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ You still start at "5" and stop when you're at an edge, but given the same instr
5353

5454
So, given the actual keypad layout, the code would be `5DB3`.
5555

56-
Using the same instructions in your puzzle input, what is the correct **bathroom code**?
56+
Using the same instructions in your puzzle input, what is the correct **bathroom code**?

advent-of-code/2016/day-03/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ For example, given the following specification, numbers with the same hundreds d
2525
203 403 603
2626
```
2727

28-
In your puzzle input, and instead reading by columns, **how many** of the listed triangles are **possible**?
28+
In your puzzle input, and instead reading by columns, **how many** of the listed triangles are **possible**?

advent-of-code/2016/day-04/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ To decrypt a room name, rotate each letter forward through the alphabet a number
2525

2626
For example, the real name for `qzmt-zixmtkozy-ivhz-343` is `very encrypted name`.
2727

28-
**What is the sector ID** of the room where North Pole objects are stored?
28+
**What is the sector ID** of the room where North Pole objects are stored?

advent-of-code/2017/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Collect stars by solving puzzles. Two puzzles will be made available on each day
1515
- [Day 3: Spiral Memory](day-03/)
1616
- [Day 4: High-Entropy Passphrases](day-04/)
1717
- [Day 5: A Maze of Twisty Trampolines, All Alike](day-05/)
18-
- [Day 6: Memory Reallocation](day-06/)
18+
- [Day 6: Memory Reallocation](day-06/)

advent-of-code/2017/day-04/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ For example:
2424
- `iiii oiii ooii oooi oooo` is valid.
2525
- `oiii ioii iioi iiio` is not valid - any of these words can be rearranged to form any other word.
2626

27-
Under this new system policy, how many passphrases are valid?
27+
Under this new system policy, how many passphrases are valid?

advent-of-code/2017/day-06/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ Out of curiosity, the debugger would also like to know the size of the loop: sta
2727

2828
In the example above, `2 4 1 2` is seen again after four cycles, and so the answer in that example would be `4`.
2929

30-
How many cycles are in the infinite loop that arises from the configuration in your puzzle input?
30+
How many cycles are in the infinite loop that arises from the configuration in your puzzle input?

advent-of-code/2018/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Collect stars by solving puzzles. Two puzzles will be made available on each day
2020
- [Day 6: Chronal Coordinates](day-06/)
2121
- [Day 7: The Sum of Its Parts](day-07/)
2222
- [Day 8: Memory Maneuver](day-08/)
23-
- [Day 9: Marble Mania](day-09/)
23+
- [Day 9: Marble Mania](day-09/)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ Here are other examples:
4242
- `-6, +3, +8, +5, -6` first reaches `5` twice.
4343
- `+7, +7, -2, -7, -4` first reaches `14` twice.
4444

45-
**What is the first frequency your device reaches twice?**
45+
**What is the first frequency your device reaches twice?**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ wvxyz
4242

4343
The IDs `abcde` and `axcye` are close, but they differ by two characters (the second and fourth). However, the IDs `fghij` and `fguij` differ by exactly one character, the third (`h` and `u`). Those must be the correct boxes.
4444

45-
**What letters are common between the two correct box IDs?** (In the example above, this is found by removing the differing character from either ID, producing `fgij`.)
45+
**What letters are common between the two correct box IDs?** (In the example above, this is found by removing the differing character from either ID, producing `fgij`.)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ Amidst the chaos, you notice that exactly one claim doesn't overlap by even a si
5656

5757
For example, in the claims above, only claim `3` is intact after all claims are made.
5858

59-
**What is the ID of the only claim that doesn't overlap?**
59+
**What is the ID of the only claim that doesn't overlap?**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ While this example listed the entries in chronological order, your entries are i
6161

6262
In the example above, Guard #**99** spent minute **45** asleep more than any other guard or minute - three times in total. (In all other cases, any guard spent any minute asleep at most twice.)
6363

64-
**What is the ID of the guard you chose multiplied by the minute you chose?** (In the above example, the answer would be `99 * 45 = 4455`.)
64+
**What is the ID of the guard you chose multiplied by the minute you chose?** (In the above example, the answer would be `99 * 45 = 4455`.)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ For example, again using the polymer `dabAcCaCBAcCcaDA` from above:
4141

4242
In this example, removing all `C`/`c` units was best, producing the answer **4**.
4343

44-
**What is the length of the shortest polymer you can produce** by removing all units of exactly one type and fully reacting the result?
44+
**What is the length of the shortest polymer you can produce** by removing all units of exactly one type and fully reacting the result?

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ This region, which also includes coordinates D and E, has a total size of **16**
9292

9393
Your actual region will need to be much larger than this example, though, instead including all locations with a total distance of less than **10000**.
9494

95-
**What is the size of the region containing all locations which have a total distance to all given coordinates of less than 10000?**
95+
**What is the size of the region containing all locations which have a total distance to all given coordinates of less than 10000?**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ Note that the order of the steps has changed; this is because steps now take tim
7777

7878
In this example, it would take **15** seconds for two workers to complete these steps.
7979

80-
With **5** workers and the **60+ second** step durations described above, **how long will it take to complete all of the steps?**
80+
With **5** workers and the **60+ second** step durations described above, **how long will it take to complete all of the steps?**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ For example, again using the above nodes:
5353

5454
So, in this example, the value of the root node is `66`.
5555

56-
**What is the value of the root node?**
56+
**What is the value of the root node?**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ Here are a few more examples:
5757

5858
Amused by the speed of your answer, the Elves are curious:
5959

60-
**What would the new winning Elf's score be if the number of the last marble were 100 times larger?**
60+
**What would the new winning Elf's score be if the number of the last marble were 100 times larger?**

advent-of-code/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
| [2015](2015/) | **14** / 25 |
1010
| [2016](2016/) | **4** / 25 |
1111
| [2017](2017/) | **6** / 25 |
12-
| [2018](2018/) | **9** / 25 |
12+
| [2018](2018/) | **9** / 25 |

leetcode/06-zigzag-conversion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ def convert(self, s, numRows):
6767
for row in zig_zag_rows_array:
6868
ans += row
6969

70-
return ans
70+
return ans

leetcode/07-reverse-integer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ def reverse(self, x):
3636
# SOLUTION 3: CODE GOLF
3737
# Runtime: 56ms
3838
n = ((x > 0) - (x < 0)) * int(str(abs(x))[::-1])
39-
return n if n.bit_length() < 32 else 0
39+
return n if n.bit_length() < 32 else 0

leetcode/10-regular-expression-matching.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ def dp(i, j): # Because calls will only ever be made to match(text[i:], p
6161
else:
6262
dp[i][j] = first_match and dp[i + 1][j + 1]
6363

64-
return dp[0][0]
64+
return dp[0][0]

leetcode/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ My solutions to the problems on https://leetcode.com/problemset/all/
1414
| 7 | [Reverse Integer](07-reverse-integer.py) | :star: |
1515
| 8 | [String to Integer (atoi)](08-string-to-integer-atoi.py) | :star::star: |
1616
| 9 | [Palindrome Number](09-palindrome-number.py) | :star: |
17-
| 10 | [Regular Expression Matching](10-regular-expression-matching.py) | :star::star::star: |
17+
| 10 | [Regular Expression Matching](10-regular-expression-matching.py) | :star::star::star: |

0 commit comments

Comments
 (0)