前言
leetcode开刷,采用java。
题目
题目链接: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:
1 | Given nums = [2, 7, 11, 15], target = 9, |