【第十周-leetcode】two sum

这个大概是水题啦,以后我会每个星期至少做两道!加油!

class Solution {
public:
    vector twoSum(vector& nums, int target) {
        vector res;
        for(int i=0;i

你可能感兴趣的:(leetcode)