Notice
Recent Posts
Recent Comments
목록two sum (1)
준호씨의 블로그
LeetCode 1. Two Sum C++ 풀이
단순 방법 풀이 class Solution { public: vector twoSum(vector& nums, int target) { vector answer(2); int right = nums[1]; unsigned long length = nums.size(); for (int i = 0; i < length; i++) { int left = nums[i]; for (int j=i+1; j
개발이야기/PS - Problem Solving, 알고리즘
2018. 10. 25. 23:39