I was attempting this question on leetcode using python3. My solution for this problem is as follows: class Solution: def __init__(self): self.memo
The bcmod function is deactivated and I won't be able to activate this because its not my own server. For a reason I need to calculate an integer with a length