Leetcode 78 question potential solution:
class Solution(object): def __init__(self): self.map = {} def helper(self, count,