Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ main
Method
main
Java/Leetcode/Leetcode287.java:6–11 ·
view source on GitHub ↗
(String[] args)
Source
from the content-addressed store, hash-verified
4
5
public
class
Leetcode287 {
6
public
static
void
main(String[] args) {
7
int
[] arr={3,1,3,4,2};
8
sort(arr);
9
System.out.println(arr[arr.length-1]);
10
11
}
12
13
static
void
sort(
int
[] arr){
14
int
i=0;
Callers
nothing calls this directly
Calls
1
sort
Method · 0.95
Tested by
no test coverage detected