Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VanjaRo/LeetCode
/ equal
Function
equal
tasks/567.go:40–47 ·
view source on GitHub ↗
(mp1, mp2 [26]byte)
Source
from the content-addressed store, hash-verified
38
}
39
40
func
equal(mp1, mp2 [26]byte) bool {
41
for
i :=
range
mp1 {
42
if
mp1[i] != mp2[i] {
43
return
false
44
}
45
}
46
return
true
47
}
48
49
// func checkInclusion(s1 string, s2 string) bool {
50
// s2Len := len(s2)
Callers
1
checkInclusion
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected