top of page

Leetcod#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 {...

Blog: Blog2
bottom of page