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