public class QuickSelect extends Object
| Constructor and Description |
|---|
QuickSelect() |
| Modifier and Type | Method and Description |
|---|---|
static long |
select(long[] array,
int k) |
static long |
select(long[] array,
int k,
int left,
int right) |
static <T> T |
select(T[] array,
int k,
Comparator<T> comparator) |
static <T> T |
select(T[] array,
int k,
Comparator<T> comparator,
int left,
int right) |
public static long select(long[] array,
int k)
public static long select(long[] array,
int k,
int left,
int right)
public static <T> T select(T[] array,
int k,
Comparator<T> comparator)
public static <T> T select(T[] array,
int k,
Comparator<T> comparator,
int left,
int right)
Copyright © 2019. All rights reserved.