Skip to content

Commit c0065af

Browse files
committed
deploy: 5d79d9f
1 parent 4689a23 commit c0065af

File tree

16 files changed

+8101
-7279
lines changed

16 files changed

+8101
-7279
lines changed

en/lc/1547/index.html

Lines changed: 53 additions & 17 deletions
Large diffs are not rendered by default.

en/lc/3346/index.html

Lines changed: 196 additions & 8 deletions
Large diffs are not rendered by default.

en/lc/3347/index.html

Lines changed: 196 additions & 8 deletions
Large diffs are not rendered by default.

en/lc/3349/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80288,7 +80288,7 @@ <h1 id="3349-adjacent-increasing-subarrays-detection-i"><a href="https://leetcod
8028880288
<h2 id="description">Description</h2>
8028980289
<!-- description:start -->
8029080290

80291-
<p>Given an array <code>nums</code> of <code>n</code> integers and an integer <code>k</code>, determine whether there exist <strong>two</strong> <strong>adjacent</strong> subarrays of length <code>k</code> such that both subarrays are <strong>strictly</strong> <strong>increasing</strong>. Specifically, check if there are <strong>two</strong> subarrays starting at indices <code>a</code> and <code>b</code> (<code>a &lt; b</code>), where:</p>
80291+
<p>Given an array <code>nums</code> of <code>n</code> integers and an integer <code>k</code>, determine whether there exist <strong>two</strong> <strong>adjacent</strong> <span data-keyword="subarray-nonempty">subarrays</span> of length <code>k</code> such that both subarrays are <strong>strictly</strong> <strong>increasing</strong>. Specifically, check if there are <strong>two</strong> subarrays starting at indices <code>a</code> and <code>b</code> (<code>a &lt; b</code>), where:</p>
8029280292

8029380293
<ul>
8029480294
<li>Both subarrays <code>nums[a..a + k - 1]</code> and <code>nums[b..b + k - 1]</code> are <strong>strictly increasing</strong>.</li>
@@ -80297,8 +80297,6 @@ <h2 id="description">Description</h2>
8029780297

8029880298
<p>Return <code>true</code> if it is <em>possible</em> to find <strong>two </strong>such subarrays, and <code>false</code> otherwise.</p>
8029980299

80300-
<p>A <strong>subarray</strong> is a contiguous <b>non-empty</b> sequence of elements within an array.</p>
80301-
8030280300
<p>&nbsp;</p>
8030380301
<p><strong class="example">Example 1:</strong></p>
8030480302

@@ -80329,7 +80327,7 @@ <h2 id="description">Description</h2>
8032980327

8033080328
<ul>
8033180329
<li><code>2 &lt;= nums.length &lt;= 100</code></li>
80332-
<li><code>1 &lt;= 2 * k &lt;= nums.length</code></li>
80330+
<li><code>1 &lt; 2 * k &lt;= nums.length</code></li>
8033380331
<li><code>-1000 &lt;= nums[i] &lt;= 1000</code></li>
8033480332
</ul>
8033580333

en/lc/3350/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80288,7 +80288,7 @@ <h1 id="3350-adjacent-increasing-subarrays-detection-ii"><a href="https://leetco
8028880288
<h2 id="description">Description</h2>
8028980289
<!-- description:start -->
8029080290

80291-
<p>Given an array <code>nums</code> of <code>n</code> integers, your task is to find the <strong>maximum</strong> value of <code>k</code> for which there exist <strong>two</strong> adjacent subarrays of length <code>k</code> each, such that both subarrays are <strong>strictly</strong> <strong>increasing</strong>. Specifically, check if there are <strong>two</strong> subarrays of length <code>k</code> starting at indices <code>a</code> and <code>b</code> (<code>a &lt; b</code>), where:</p>
80291+
<p>Given an array <code>nums</code> of <code>n</code> integers, your task is to find the <strong>maximum</strong> value of <code>k</code> for which there exist <strong>two</strong> adjacent <span data-keyword="subarray-nonempty">subarrays</span> of length <code>k</code> each, such that both subarrays are <strong>strictly</strong> <strong>increasing</strong>. Specifically, check if there are <strong>two</strong> subarrays of length <code>k</code> starting at indices <code>a</code> and <code>b</code> (<code>a &lt; b</code>), where:</p>
8029280292

8029380293
<ul>
8029480294
<li>Both subarrays <code>nums[a..a + k - 1]</code> and <code>nums[b..b + k - 1]</code> are <strong>strictly increasing</strong>.</li>

en/lc/3351/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80288,9 +80288,7 @@ <h1 id="3351-sum-of-good-subsequences"><a href="https://leetcode.com/problems/su
8028880288
<h2 id="description">Description</h2>
8028980289
<!-- description:start -->
8029080290

80291-
<p>You are given an integer array <code>nums</code>. A <strong>good subsequence</strong> is defined as a subsequence of <code>nums</code> where the absolute difference between any <strong>two</strong> consecutive elements in the subsequence is <strong>exactly</strong> 1.</p>
80292-
80293-
<p>A <strong>subsequence</strong> is an array that can be derived from another array by deleting some or no elements without changing the order of the remaining elements.</p>
80291+
<p>You are given an integer array <code>nums</code>. A <strong>good </strong><span data-keyword="subsequence-array">subsequence</span> is defined as a subsequence of <code>nums</code> where the absolute difference between any <strong>two</strong> consecutive elements in the subsequence is <strong>exactly</strong> 1.</p>
8029480292

8029580293
<p>Return the <strong>sum</strong> of all <em>possible</em> <strong>good subsequences</strong> of <code>nums</code>.</p>
8029680294

en/lc/3352/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80295,7 +80295,7 @@ <h2 id="description">Description</h2>
8029580295
<p>An integer <code>x</code> is called <strong>k-reducible</strong> if performing the following operation <strong>at most</strong> <code>k</code> times reduces it to 1:</p>
8029680296

8029780297
<ul>
80298-
<li>Replace <code>x</code> with the <strong>count</strong> of set bits in its binary representation.</li>
80298+
<li>Replace <code>x</code> with the <strong>count</strong> of <span data-keyword="set-bit">set bits</span> in its binary representation.</li>
8029980299
</ul>
8030080300

8030180301
<p>For example, the binary representation of 6 is <code>&quot;110&quot;</code>. Applying the operation once reduces it to 2 (since <code>&quot;110&quot;</code> has two set bits). Applying the operation again to 2 (binary <code>&quot;10&quot;</code>) reduces it to 1 (since <code>&quot;10&quot;</code> has one set bit).</p>
@@ -80304,8 +80304,6 @@ <h2 id="description">Description</h2>
8030480304

8030580305
<p>Since the answer may be too large, return it <strong>modulo</strong> <code>10<sup>9</sup> + 7</code>.</p>
8030680306

80307-
<p>A set bit refers to a bit in the binary representation of a number that has a value of <code>1</code>.</p>
80308-
8030980307
<p>&nbsp;</p>
8031080308
<p><strong class="example">Example 1:</strong></p>
8031180309

en/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)