4. [Greedy Algorithm] 최대 곱 구하기 분석
def max_product(card_lists): # 코드를 작성하세요. # 예시 test_cards = [[1, 2, 3], [4, 6, 1], [8, 2, 4], [3, 2, 5], [5, 2, 3], [3, 2, 1]] print(max_product(test_cards)) 여럿이서 카드 게임을 하고 있는데, 각 플레이어는 3장의 카드를 들고 있다. 위의 경우 첫 번째 플레이어는 1, 2,
NULL
2021-11-14
0 0