(arr1, arr2)
| 33 | class Solution: |
| 34 | def numSplits(self, s: str, k: int) -> int: |
| 35 | def countSharedChars(arr1, arr2): |
| 36 | ans = 0 |
| 37 | for i in range(26): |
| 38 | if arr1[i] > 0 and arr2[i] > 0: |
| 39 | ans += 1 |
| 40 | return ans |
| 41 | |
| 42 | def pos(char): |
| 43 | return ord(char) - ord('a') |
nothing calls this directly
no outgoing calls
no test coverage detected