알고리즘/알고리즘 문제 복기
Leetcode - 155. Min Stack
내일도무사히
2021. 2. 27. 15:56
leetcode.com/problems/min-stack/
Min Stack - 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
Answer
Stack을 구현하는 문제.
처음엔 vector를 이용해서 풀어보려 했는데
자바에서 Vector는 Depreciate되어서 지원하지 않는다고 한다.