You are viewing a single comment's thread. Return to all comments →
My pythom solutioms
def miniMaxSum(arr): results = [] for i in arr: cp_arr = arr.copy() cp_arr.remove(i) results.append(sum(cp_arr)) print(min(results), max(results))
Mini-Max Sum
You are viewing a single comment's thread. Return to all comments →
My pythom solutioms