[LeetCode 해석 및 풀이] 15. 3Sum
LeetCode 문제 해석 및 풀이 방법 문제 15. 3Sum(3개의 합) 바로가기 문제 설명 영문 Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. Notice that the solution set must not contain duplicate triplets. 한글 정수 배열 nums가 주어지면, i,j,k가 서로 다르고, nums[i] + nums[j] + nums[k] == 0가 되는 모든 트리플 [nums[i], nums[j], nums[k]]을 반환하세요. 답에는..
2024. 4. 16.