MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / main

Function main

tasks/20.go:5–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import "fmt"
4
5func main() {
6 // 40 '(' 41 ')'
7 // 91 '[' 93 ']'
8 // 123 '{' 125 '}'
9 fmt.Print(isValid("([)]"))
10}
11
12func isValid(s string) bool {
13 // openedRound := 0

Callers

nothing calls this directly

Calls 2

isValidFunction · 0.85
PrintMethod · 0.80

Tested by

no test coverage detected