Skip to content

Commit 8a4905e

Browse files
authoredFeb 22, 2025
feat: update lc problems (#4097)
1 parent c73dfce commit 8a4905e

File tree

50 files changed

+478
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+478
-126
lines changed
 

‎solution/0200-0299/0254.Factor Combinations/README.md

+18-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ tags:
2020

2121
<p>例如:</p>
2222

23-
<pre>8 = 2 x 2 x 2;
23+
<pre>
24+
8 = 2 x 2 x 2;
2425
= 2 x 4.</pre>
2526

2627
<p>请实现一个函数,该函数接收一个整数 <em>n</em>&nbsp;并返回该整数所有的因子组合。</p>
@@ -34,18 +35,21 @@ tags:
3435

3536
<p><strong>示例 1:</strong></p>
3637

37-
<pre><strong>输入: </strong><code>1</code>
38+
<pre>
39+
<strong>输入: </strong><code>1</code>
3840
<strong>输出: </strong>[]
3941
</pre>
4042

4143
<p><strong>示例 2:</strong></p>
4244

43-
<pre><strong>输入: </strong><code>37</code>
45+
<pre>
46+
<strong>输入: </strong><code>37</code>
4447
<strong>输出: </strong>[]</pre>
4548

4649
<p><strong>示例 3:</strong></p>
4750

48-
<pre><strong>输入: </strong><code>12</code>
51+
<pre>
52+
<strong>输入: </strong><code>12</code>
4953
<strong>输出:</strong>
5054
[
5155
[2, 6],
@@ -55,7 +59,8 @@ tags:
5559

5660
<p><strong>示例 4: </strong></p>
5761

58-
<pre><strong>输入: </strong><code>32</code>
62+
<pre>
63+
<strong>输入: </strong><code>32</code>
5964
<strong>输出:</strong>
6065
[
6166
[2, 16],
@@ -67,6 +72,14 @@ tags:
6772
]
6873
</pre>
6974

75+
<p>&nbsp;</p>
76+
77+
<p><b>提示:</b></p>
78+
79+
<ul>
80+
<li><code>1 &lt;= n &lt;= 10<sup>7</sup></code></li>
81+
</ul>
82+
7083
<!-- description:end -->
7184

7285
## 解法

‎solution/0200-0299/0262.Trips and Users/README_EN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ banned is an ENUM (category) type of (&#39;Yes&#39;, &#39;No&#39;).
5555

5656
<p>The <strong>cancellation rate</strong> is computed by dividing the number of canceled (by client or driver) requests with unbanned users by the total number of requests with unbanned users on that day.</p>
5757

58-
<p>Write a solution to find the <strong>cancellation rate</strong> of requests with unbanned users (<strong>both client and driver must not be banned</strong>) each day between <code>&quot;2013-10-01&quot;</code> and <code>&quot;2013-10-03&quot;</code>. Round <code>Cancellation Rate</code> to <strong>two decimal</strong> points.</p>
58+
<p>Write a solution to find the <strong>cancellation rate</strong> of requests with unbanned users (<strong>both client and driver must not be banned</strong>) each day between <code>&quot;2013-10-01&quot;</code> and <code>&quot;2013-10-03&quot;</code> with <strong>at least</strong> one trip. Round <code>Cancellation Rate</code> to <strong>two decimal</strong> points.</p>
5959

6060
<p>Return the result table in <strong>any order</strong>.</p>
6161

0 commit comments

Comments
 (0)