Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
more
Archives
Today
Total
관리 메뉴

빠똥빠똥

[프로그래머스] 짝지어 제거하기(Stack) 본문

프로그래머스

[프로그래머스] 짝지어 제거하기(Stack)

조주똥 2020. 9. 3. 00:28

#문제링크 : https://programmers.co.kr/learn/courses/30/lessons/12973

<전략>

1. stack에 s문자열의 하나하나를 담으면서, top과 담으려는 문자가 같다면 pop, 다르면 push

Code