[LeetCode/Java] 1. Two Sum (easy)
·
개발 ━━━━━/Algorithm
Problem https://leetcode.com/problems/two-sum/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 Solution class Solution { public int[] twoSum(int[] nums, int target) { int result1 = 0; int result2 = 0; for(int i ..