Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rohit91singh9/Coding-DP-DSA
/ pos
Method
pos
findNumWaysToSplit.py:42–43 ·
view source on GitHub ↗
(char)
Source
from the content-addressed store, hash-verified
40
return
ans
41
42
def
pos(char):
43
return
ord(char) - ord(
'a'
)
44
45
left = [0] * 26
46
right = [0] * 26
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected