You are viewing a single comment's thread. Return to all comments →
Python
def icecreamParlor(m, arr): for i in range(len(arr)-1): j = i + 1 while j < len(arr): if arr[i] + arr[j] == m: return i+1, j+1 j += 1
Seems like cookies are disabled on this browser, please enable them to open this website
Ice Cream Parlor
You are viewing a single comment's thread. Return to all comments →
Python