leetcode1 [leet_code] 15. '3Sum' TwoPointer 기법을 활용한 시간복잡도 개선 https://leetcode.com/problems/3sum/description/ 3Sum - LeetCodeCan you solve this real interview question? 3Sum - 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 duleetcode.com 세 원소를 더했을 때 Sum이 0이어야한다는 조건속에서 완전탐색이 필수적인 조건이라 생각하여, 작성한 초안 코드는 아래.. 2026. 8. 6. 이전 1 다음