mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
chore: fix typos in src/main/java/com/thealgorithms/divideandconquer/ClosestPair.java (#7034)
Fix typos in src/main/java/com/thealgorithms/divideandconquer/ClosestPair.java Co-authored-by: a <19151554+alxkm@users.noreply.github.com>
This commit is contained in:
@@ -182,7 +182,7 @@ public final class ClosestPair {
|
||||
|
||||
double minLeftArea; // Minimum length of left array
|
||||
double minRightArea; // Minimum length of right array
|
||||
double minValue; // Minimum lengt
|
||||
double minValue; // Minimum length
|
||||
|
||||
minLeftArea = closestPair(leftArray, divideX); // recursive closestPair
|
||||
minRightArea = closestPair(rightArray, indexNum - divideX);
|
||||
|
||||
Reference in New Issue
Block a user