TwoSum
link : https://leetcode.com/problems/two-sum/description/
backgroud knowlege
- use go build-in struture whitch that like map or slice
about problem
Give you two array of Integer and give you an integar target, you need to return a indices of the numbers such that they add up to target.
Example
1 |
|
Code
1 |
|
TwoSum
http://orikey0.github.io/2024/02/01/TwoSum/