Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/jwasham/practice-python
/ contain_same_ints
Function
contain_same_ints
merge_sort/main.py:17–27 ·
view source on GitHub ↗
(arr1, arr2)
Source
from the content-addressed store, hash-verified
15
16
17
def
contain_same_ints(arr1, arr2):
18
for
i in arr1:
19
found = False
20
for
j in arr2:
21
if
i == j:
22
found = True
23
break
24
if
not found:
25
return
False
26
27
return
True
28
29
30
def
main():
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected