Leetcode 1 Two Sum Brute Force Optimized Hashmap Approach