题目链接:https://leetcode.com/problems/two-sum/
题目: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution. Example: …
今天用C写了LeetCode第一个题目,题目如下: Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the…