You are viewing a single comment's thread. Return to all comments →
solution in python using inbuilt functions..
def miniMaxSum(arr):
maxs=sum(arr)-min(arr) mins=sum(arr)-max(arr) print(mins,maxs)
Seems like cookies are disabled on this browser, please enable them to open this website
Mini-Max Sum
You are viewing a single comment's thread. Return to all comments →
solution in python using inbuilt functions..
def miniMaxSum(arr):