Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ matches
Function
matches
Stack.py:75–78 ·
view source on GitHub ↗
(open, close)
Source
from the content-addressed store, hash-verified
73
return
False
74
75
def
matches(open, close):
76
opens =
'([{'
77
closers =
')]}'
78
return
opens.index(open) == closers.index(close)
79
80
# print(parChecker('({([()])}){}'))
81
Callers
1
parChecker
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected