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: src/main/java/g2301_2400/s2322_minimum_score_after_removals_on_a_tree/readme.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,9 @@ Return _the **minimum** score of any possible pair of edge removals on the given
31
31
32
32
- The 3<sup>rd</sup> component has node [2] with value [5]. Its XOR value is 5 = 5.
33
33
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.
35
37
36
38
**Example 2:**
37
39
@@ -49,7 +51,9 @@ The score is the difference between the largest and smallest XOR value which is
49
51
50
52
- The 3<sup>rd</sup> component has nodes [2,5] with values [2,2]. Its XOR value is 2 ^ 2 = 0.
51
53
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.
0 commit comments