You are viewing a single comment's thread. Return to all comments →
Python
def icecreamParlor(m, arr): n = len(arr) for i in range(0, n): for j in range(i+1, n): if arr[i] + arr[j] == m: return i+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