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