You are viewing a single comment's thread. Return to all comments →
In Python:
def birthday(s, d, m): num = len([s[i:i+m] for i in range(0,len(s),1) if sum(s[i:i+m])==d]) return num
Seems like cookies are disabled on this browser, please enable them to open this website
Subarray Division
You are viewing a single comment's thread. Return to all comments →
In Python: