MCPcopy Index your code
hub / github.com/hustcc/JS-Sorting-Algorithm / getMaxValue

Method getMaxValue

src/java/main/RadixSort.java:27–35  ·  view source on GitHub ↗
(int[] arr)

Source from the content-addressed store, hash-verified

25 }
26
27 private int getMaxValue(int[] arr) {
28 int maxValue = arr[0];
29 for (int value : arr) {
30 if (maxValue < value) {
31 maxValue = value;
32 }
33 }
34 return maxValue;
35 }
36
37 protected int getNumLenght(long num) {
38 if (num == 0) {

Callers 1

getMaxDigitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected