algorithmhashhash🤖WARNINGThe English translation was done by AI.AI 总结 Two Sum Time: O(n) Space: O(n) Valid Parentheses hash + stack