[99클럽 코테 스터디 5일차 TIL] Implement Stack using Queues
오늘의 키워드stackqueue leetcode 225번 - Implement Stack using Queueshttps://leetcode.com/problems/implement-stack-using-queues/ 문제Implement a last-in-first-out (LIFO) stack using only two queues.The implemented stack should support all the functions of a normal stack (push, top, pop, and empty) 두개의 큐를 사용해서 스택을 구현하는 문제이다. 입력예제["MyStack", "push", "push", "top", "pop", "empty"][[], [1], [2], [], []..
2025. 4. 5.