📈
notes
More
Search
Ctrl + K
Solution 1 hash map
t-complexity: $O(n)$
s-complexity: $O(n)$
用hash存放出现的字符串。最后扫描一遍hash表
Previous
0187_Repeated_DNA_Sequences
Next
0188_Best_Time_to_Buy_and_Sell_Stock_IV
Last updated
3 years ago