LeetCode #1: Two Sum
You're given an array of integers and a target. Find two numbers that add up to the target and return their indices.
Example: nums , target returns because .
Constraints: Exactly one solution exists. You can't use the same element twice. Array length up to .
Try solving it before reading the hints.