Ann LiuAug 29, 20191 min readLeetcod#1: Two sum (improved solution) language: C++ key idea: STL map map use: 1. define -- map<key, value> 2. find -- map.find(key) code: class Solution {...