You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: solution/1000-1099/1052.Grumpy Bookstore Owner/README_EN.md
+21-15
Original file line number
Diff line number
Diff line change
@@ -19,32 +19,38 @@ tags:
19
19
20
20
<!-- description:start -->
21
21
22
-
<p>There is a bookstore owner that has a store open for <code>n</code> minutes. Every minute, some number of customers enter the store. You are given an integer array <code>customers</code> of length <code>n</code> where <code>customers[i]</code> is the number of the customer that enters the store at the start of the <code>i<sup>th</sup></code> minute and all those customers leave after the end of that minute.</p>
22
+
<p>There is a bookstore owner that has a store open for <code>n</code> minutes. You are given an integer array <code>customers</code> of length <code>n</code> where <code>customers[i]</code> is the number of the customers that enter the store at the start of the <code>i<sup>th</sup></code> minute and all those customers leave after the end of that minute.</p>
23
23
24
-
<p>On some minutes, the bookstore owner is grumpy. You are given a binary array grumpy where <code>grumpy[i]</code> is <code>1</code> if the bookstore owner is grumpy during the <code>i<sup>th</sup></code> minute, and is <code>0</code> otherwise.</p>
24
+
<p>During certain minutes, the bookstore owner is grumpy. You are given a binary array grumpy where <code>grumpy[i]</code> is <code>1</code> if the bookstore owner is grumpy during the <code>i<sup>th</sup></code> minute, and is <code>0</code> otherwise.</p>
25
25
26
-
<p>When the bookstore owner is grumpy, the customers of that minute are not satisfied, otherwise, they are satisfied.</p>
26
+
<p>When the bookstore owner is grumpy, the customers entering during that minute are not <strong>satisfied</strong>. Otherwise, they are satisfied.</p>
27
27
28
-
<p>The bookstore owner knows a secret technique to keep themselves not grumpy for <code>minutes</code> consecutive minutes, but can only use it once.</p>
28
+
<p>The bookstore owner knows a secret technique to remain <strong>not grumpy</strong> for <code>minutes</code> consecutive minutes, but this technique can only be used <strong>once</strong>.</p>
29
29
30
-
<p>Return <em>the maximum number of customers that can be satisfied throughout the day</em>.</p>
30
+
<p>Return the <strong>maximum</strong> number of customers that can be <em>satisfied</em> throughout the day.</p>
Copy file name to clipboardexpand all lines: solution/1100-1199/1152.Analyze User Website Visit Pattern/README_EN.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,9 @@ tags:
36
36
<li>Also, if the pattern is <code>["luffy", "luffy", "luffy"]</code>, the score is the number of users <code>x</code> such that <code>x</code> visited <code>"luffy"</code> three different times at different timestamps.</li>
37
37
</ul>
38
38
39
-
<p>Return <em>the <strong>pattern</strong> with the largest <strong>score</strong></em>. If there is more than one pattern with the same largest score, return the lexicographically smallest such pattern.</p>
39
+
<p>Return the <strong>pattern</strong> with the largest <strong>score</strong>. If there is more than one pattern with the same largest score, return the lexicographically smallest such pattern.</p>
40
+
41
+
<p>Note that the websites in a pattern <strong>do not</strong> need to be visited <em>contiguously</em>, they only need to be visited in the order they appeared in the pattern.</p>
Copy file name to clipboardexpand all lines: solution/1300-1399/1334.Find the City With the Smallest Number of Neighbors at a Threshold Distance/README_EN.md
Copy file name to clipboardexpand all lines: solution/3100-3199/3102.Minimize Manhattan Distances/README_EN.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ tags:
22
22
23
23
<!-- description:start -->
24
24
25
-
<p>You are given a array <code>points</code> representing integer coordinates of some points on a 2D plane, where <code>points[i] = [x<sub>i</sub>, y<sub>i</sub>]</code>.</p>
25
+
<p>You are given an array <code>points</code> representing integer coordinates of some points on a 2D plane, where <code>points[i] = [x<sub>i</sub>, y<sub>i</sub>]</code>.</p>
26
26
27
27
<p>The distance between two points is defined as their <spandata-keyword="manhattan-distance">Manhattan distance</span>.</p>
Copy file name to clipboardexpand all lines: solution/3100-3199/3112.Minimum Time to Visit Disappearing Nodes/README_EN.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -25,22 +25,22 @@ tags:
25
25
26
26
<p>Additionally, you are given an array <code>disappear</code>, where <code>disappear[i]</code> denotes the time when the node <code>i</code> disappears from the graph and you won't be able to visit it.</p>
27
27
28
-
<p><strong>Notice</strong>that the graph might be disconnected and might contain multiple edges.</p>
28
+
<p><strong>Note</strong> that the graph might be <em>disconnected</em> and might contain <em>multiple edges</em>.</p>
29
29
30
30
<p>Return the array <code>answer</code>, with <code>answer[i]</code> denoting the <strong>minimum</strong> units of time required to reach node <code>i</code> from node 0. If node <code>i</code> is <strong>unreachable</strong> from node 0 then <code>answer[i]</code> is <code>-1</code>.</p>
0 commit comments