Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ main
Function
main
Arrays/32_Leaders_in_Array.cpp:46–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
}
46
int main()
47
{
48
int len;
49
cin>>len;
50
int *arr = new int[len + 1];
51
52
for(int i=0;i<len;i++)
53
{
54
cin>>arr[i];
55
}
56
Leaders(arr,len);
57
}
Callers
nothing calls this directly
Calls
1
Leaders
Function · 0.85
Tested by
no test coverage detected