Skip to content

Commit 4c21eb9

Browse files
committed
Improved readmes
1 parent 1e22903 commit 4c21eb9

16 files changed

Lines changed: 16 additions & 16 deletions

File tree

  • src/main/java
    • g2001_2100/s2086_minimum_number_of_buckets_required_to_collect_rainwater_from_houses
    • g2801_2900
      • s2862_maximum_element_sum_of_a_complete_subset_of_indices
      • s2871_split_array_into_maximum_number_of_subarrays
    • g3501_3600
      • s3509_maximum_product_of_subsequences_with_an_alternating_sum_equal_to_k
      • s3547_maximum_sum_of_edge_values_in_a_graph
      • s3556_sum_of_largest_prime_substrings
      • s3557_find_maximum_number_of_non_intersecting_substrings
      • s3579_minimum_steps_to_convert_string_with_operations
      • s3584_maximum_product_of_first_and_last_elements_of_a_subsequence
      • s3585_find_weighted_median_node_in_tree
      • s3599_partition_array_to_minimize_xor
    • g3601_3700/s3615_longest_palindromic_path_in_graph
    • g3701_3800
      • s3703_remove_k_balanced_substrings
      • s3729_count_distinct_subarrays_divisible_by_k_in_sorted_array
      • s3748_count_stable_subarrays
      • s3755_find_maximum_balanced_xor_subarray_length

src/main/java/g2001_2100/s2086_minimum_number_of_buckets_required_to_collect_rainwater_from_houses/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Medium
44

5-
You are given a **0-index****ed** string `street`. Each character in `street` is either `'H'` representing a house or `'.'` representing an empty space.
5+
You are given a **0-indexed** string `street`. Each character in `street` is either `'H'` representing a house or `'.'` representing an empty space.
66

77
You can place buckets on the **empty spaces** to collect rainwater that falls from the adjacent houses. The rainwater from a house at index `i` is collected if a bucket is placed at index `i - 1` **and/or** index `i + 1`. A single bucket, if placed adjacent to two houses, can collect the rainwater from **both** houses.
88

src/main/java/g2801_2900/s2862_maximum_element_sum_of_a_complete_subset_of_indices/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Hard
44

5-
You are given a **1****\-indexed** array `nums` of `n` integers.
5+
You are given a **1\-indexed** array `nums` of `n` integers.
66

77
A set of numbers is **complete** if the product of every pair of its elements is a perfect square.
88

src/main/java/g2801_2900/s2871_split_array_into_maximum_number_of_subarrays/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We define the score of subarray `nums[l..r]` such that `l <= r` as `nums[l] AND
88

99
Consider splitting the array into one or more subarrays such that the following conditions are satisfied:
1010

11-
* **E****ach** element of the array belongs to **exactly** one subarray.
11+
* **Each** element of the array belongs to **exactly** one subarray.
1212
* The sum of scores of the subarrays is the **minimum** possible.
1313

1414
Return _the **maximum** number of subarrays in a split that satisfies the conditions above._

src/main/java/g3501_3600/s3509_maximum_product_of_subsequences_with_an_alternating_sum_equal_to_k/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Hard
44

5-
You are given an integer array `nums` and two integers, `k` and `limit`. Your task is to find a non-empty ****subsequences**** of `nums` that:
5+
You are given an integer array `nums` and two integers, `k` and `limit`. Your task is to find a non-empty **subsequences** of `nums` that:
66

77
* Has an **alternating sum** equal to `k`.
88
* **Maximizes** the product of all its numbers _without the product exceeding_ `limit`.

src/main/java/g3501_3600/s3547_maximum_sum_of_edge_values_in_a_graph/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Hard
44

5-
You are given an **und****irected** graph of `n` nodes, numbered from `0` to `n - 1`. Each node is connected to **at most** 2 other nodes.
5+
You are given an **undirected** graph of `n` nodes, numbered from `0` to `n - 1`. Each node is connected to **at most** 2 other nodes.
66

77
The graph consists of `m` edges, represented by a 2D array `edges`, where <code>edges[i] = [a<sub>i</sub>, b<sub>i</sub>]</code> indicates that there is an edge between nodes <code>a<sub>i</sub></code> and <code>b<sub>i</sub></code>.
88

src/main/java/g3501_3600/s3556_sum_of_largest_prime_substrings/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Medium
44

5-
Given a string `s`, find the sum of the **3 largest unique prime numbers** that can be formed using any of its ****substring****.
5+
Given a string `s`, find the sum of the **3 largest unique prime numbers** that can be formed using any of its **substring**.
66

77
Return the **sum** of the three largest unique prime numbers that can be formed. If fewer than three exist, return the sum of **all** available primes. If no prime numbers can be formed, return 0.
88

src/main/java/g3501_3600/s3557_find_maximum_number_of_non_intersecting_substrings/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Medium
44

55
You are given a string `word`.
66

7-
Return the **maximum** number of non-intersecting ****substring**** of word that are at **least** four characters long and start and end with the same letter.
7+
Return the **maximum** number of non-intersecting **substring** of word that are at **least** four characters long and start and end with the same letter.
88

99
**Example 1:**
1010

src/main/java/g3501_3600/s3579_minimum_steps_to_convert_string_with_operations/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Hard
44

55
You are given two strings, `word1` and `word2`, of equal length. You need to transform `word1` into `word2`.
66

7-
For this, divide `word1` into one or more **contiguous **substring****. For each substring `substr` you can perform the following operations:
7+
For this, divide `word1` into one or more **contiguous substring**. For each substring `substr` you can perform the following operations:
88

99
1. **Replace:** Replace the character at any one index of `substr` with another lowercase English letter.
1010

src/main/java/g3501_3600/s3584_maximum_product_of_first_and_last_elements_of_a_subsequence/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Medium
44

55
You are given an integer array `nums` and an integer `m`.
66

7-
Return the **maximum** product of the first and last elements of any ****subsequences**** of `nums` of size `m`.
7+
Return the **maximum** product of the first and last elements of any **subsequences** of `nums` of size `m`.
88

99
**Example 1:**
1010

src/main/java/g3501_3600/s3585_find_weighted_median_node_in_tree/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Return an array `ans`, where `ans[j]` is the node index of the weighted median f
3232

3333
**Output:** [1,0,2]
3434

35-
**E****xplanation:**
35+
**Explanation:**
3636

3737
![](https://assets.leetcode.com/uploads/2025/05/26/screenshot-2025-05-26-at-193610.png)
3838

0 commit comments

Comments
 (0)