MCPcopy 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
7def check(s,mp): # Checks if the string is a valid number in the map of numbers
8 return int(s in mp.keys())
9g_d = dict()
10class Solution():
11 def helper(self,s,mp):

Callers 1

helperMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected