-
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되어서 지원하지 않는다고 한다.
'알고리즘 > 알고리즘 문제 복기' 카테고리의 다른 글
Leetcode - 3. Longest SubString Without Repeating Characters (0) 2021.03.08 Leet code - 2. Add Two Number - Java (0) 2021.03.08 LeetCode - 617. Merge Two Binary Trees (0) 2021.02.26 LeetCode - 543. Diameter of Binary Code (0) 2021.02.26 LeetCode - 141. Linked List Cycle (0) 2021.02.16