Skip to content

Commit 73587bf

Browse files
authored
Update readme.md
1 parent 4282515 commit 73587bf

File tree

1 file changed

+6
-2
lines changed
  • src/main/java/g2301_2400/s2322_minimum_score_after_removals_on_a_tree

1 file changed

+6
-2
lines changed

src/main/java/g2301_2400/s2322_minimum_score_after_removals_on_a_tree/readme.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ Return _the **minimum** score of any possible pair of edge removals on the given
3131

3232
- The 3<sup>rd</sup> component has node [2] with value [5]. Its XOR value is 5 = 5.
3333

34-
The score is the difference between the largest and smallest XOR value which is 10 - 1 = 9. It can be shown that no other pair of removals will obtain a smaller score than 9.
34+
The score is the difference between the largest and smallest XOR value which is 10 - 1 = 9.
35+
36+
It can be shown that no other pair of removals will obtain a smaller score than 9.
3537

3638
**Example 2:**
3739

@@ -49,7 +51,9 @@ The score is the difference between the largest and smallest XOR value which is
4951

5052
- The 3<sup>rd</sup> component has nodes [2,5] with values [2,2]. Its XOR value is 2 ^ 2 = 0.
5153

52-
The score is the difference between the largest and smallest XOR value which is 0 - 0 = 0. We cannot obtain a smaller score than 0.
54+
The score is the difference between the largest and smallest XOR value which is 0 - 0 = 0.
55+
56+
We cannot obtain a smaller score than 0.
5357

5458
**Constraints:**
5559

0 commit comments

Comments
 (0)