mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
style: enable MultipleVariableDeclarations in checkstyle (#5175)
Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
This commit is contained in:
@@ -41,7 +41,8 @@ public final class FindKthNumber {
|
||||
}
|
||||
|
||||
private static int findKthMax(int[] nums, int k) {
|
||||
int start = 0, end = nums.length;
|
||||
int start = 0;
|
||||
int end = nums.length;
|
||||
while (start < end) {
|
||||
int pivot = partition(nums, start, end);
|
||||
if (k == pivot) {
|
||||
|
||||
Reference in New Issue
Block a user