Skip to content

Commit 7ca871a

Browse files
committed
docs: fix typo
1 parent ce81b36 commit 7ca871a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/algorithm-stories.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ boolean isLeapYear(int year) {
124124
| 2100 | 2101 | 2102 | 2103 | | 2104 | 2105 |
125125
| | 2196 | 2197 | 2198 | 2199 | 2200 | 2201|
126126

127-
这道题看似简单,但其实不仅需要了解“末日”算法,还需要深入了解上述模式。上面的日历中,2199 年的“末日”是星期四,所以 2199.7.11/2911.7.4 也是星期四,所以 2199.7.2 是星期二。
127+
这道题看似简单,但其实不仅需要了解“末日”算法,还需要深入了解上述模式。上面的日历中,2199 年的“末日”是星期四,所以 2199.7.11/2199.7.4 也是星期四,所以 2199.7.2 是星期二。
128128

129129
感受到康威教授末日算法的精妙之处了吧。

0 commit comments

Comments
 (0)