We're a place where coders share, stay up-to-date and grow their careers.
Here is the simple solution with Python:
def solve(arr): result = 1 for sets in arr: sets = list(set(sets)) result *= len(sets) / 1 return result
Here is the simple solution with Python: