[프로그래머스 Lv2] 최솟값 만들기(python, 그리디, 정렬)
·
CodingTest/Programmers
문제링크: https://school.programmers.co.kr/learn/courses/30/lessons/12941 def solution(A,B): return sum(a * b for a, b in zip(sorted(A), sorted(B, reverse = True)))