20. Valid Parentheses (C++)
오늘 두문제 올리고 자기... 하면할수록 업무를 원활히 할 수 있을거 같기도 하고... cpp를 사용하니까 뭔가 포인터를 이용한 문제를 많이 풀어보고 싶기도 하다. https://leetcode.com/problems/valid-parentheses/ Valid Parentheses - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제는 올바른 괄호 열고 닫기를 했는가! 원리는 아주 쉽다! map을 이용해서 쌍을 만들어주고! 쌍이 맞으면 pop!, 그렇지 않으..
알고리즘/leetcode
2021. 10. 6. 00:02