[프로그래머스] 최솟값 만들기Lv.2
def solution(A, B): arr_a, arr_b = sorted(A), sorted(B, reverse=True) return sum([a * b for a, b in zip(arr_a, arr_b)])