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