[Python] 구명보트 1. 문제 2. 풀이 과정 def solution(people, limit): answer = 0 people.sort() l = 0 r = len(people)-1 while l < r: #2명씩 타는 경우 count if people[l]+people[r] 코딩문제풀이/프로그래머스 2021.08.28