[LeetCode] 1. Two Sum - Python
·
코딩테스트
leetcode.com/problems/two-sum/ Two Sum - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 자바로 풀었던 문제, 파이썬으로 풀어보기 ! 먼저, 자바로 풀었던 내용 ⬇ public class TwoSum0316 { public int[] twoSum(int[] nums, int target) { int [] twoSum = new int[2]; for(int i=0;i> t = [1, 5, 7, 33, 39, 52] >>> for p ..