#python
Read more stories on Hashnode
Articles with this tag
def max_sequence(arr): max = 0 curr = 0 for i in arr: curr +=i if curr < 0: curr=0 if curr > max: ...