mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-22 03:24:57 +08:00
style: include IM_AVERAGE_COMPUTATION_COULD_OVERFLOW
(#5131)
This commit is contained in:
@ -97,7 +97,7 @@ public class LongestIncreasingSubsequence {
|
||||
return end + 1;
|
||||
}
|
||||
while (left < right - 1) {
|
||||
int middle = (left + right) / 2;
|
||||
final int middle = (left + right) >>> 1;
|
||||
if (t[middle] < key) {
|
||||
left = middle;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user