Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrajaktaSathe/Java
/ NoDupArray
Method
NoDupArray
Programs/NoDupArray.java:23–26 ·
view source on GitHub ↗
(int max)
Source
from the content-addressed store, hash-verified
21
22
23
public
NoDupArray(
int
max){
24
this.a=
new
long[max];
25
this.nElements=0;
26
}
27
28
//search value
29
public
boolean find(long SearchKey) {
//[9,7,6,2,_,_]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected