my-solutions/leetcode/0001-two-sum/readme.md

12 lines
338 B
Markdown
Raw Normal View History

2022-11-17 15:45:40 +05:00
# 1. Two sum
2022-11-17 17:05:32 +05:00
[Leetcode](https://leetcode.com/problems/two-sum/)
2022-11-17 15:45:40 +05:00
Given an array of integers nums and an integer target,
return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution,
and you may not use the same element twice.
You can return the answer in any order.