Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ check
Function
check
Python/decodeWays.py:7–8 ·
view source on GitHub ↗
(s,mp)
Source
from the content-addressed store, hash-verified
5
6
7
def
check(s,mp):
# Checks if the string is a valid number in the map of numbers
8
return
int(s in mp.keys())
9
g_d = dict()
10
class
Solution():
11
def
helper(self,s,mp):
Callers
1
helper
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected