본문 바로가기

Intro/Daily Study Note

[220815] Daily Study Note

 

  Today's Plan  

GoodGeul 프로젝트

 

 

Training Coding Test with Python  

(1) 덱 1문제

(2) 스택의 활용 - 3문제

 


Training Coding Test with Python

(1) 덱 1문제

https://proprotrainee.tistory.com/167?category=1104458 

 

[ BOJ / 파이썬 ] 5430 AC

/ 제출 1 / import sys input = sys.stdin.readline tc = int(input()) for i in range(tc): oper = input().strip() n = int(input()) nums = input() if n == 0: print('error') break nums = nums[1:-2] if len..

proprotrainee.tistory.com

 

(2) 스택의 활용 - 3문제

 

https://proprotrainee.tistory.com/169?category=1104458 

 

[ BOJ / 파이썬 ] 3986 좋은 단어

/ 제출 1 / import sys input = sys.stdin.readline n = int(input()) answer = 0 for i in range(n): words = list(input().strip()) stack = [] for word in words: if not stack: stack.append(word) else: if..

proprotrainee.tistory.com

https://proprotrainee.tistory.com/170?category=1104458 

 

[ BOJ / 파이썬 ] 10799 쇠막대기

/ 제출 1 / 이 문제가 스택을 활용하는 유형이라는 것을 알면 그래도 접근하는 난이도가 확 낮아진다. 그래서 그 부분을 눈치 챌 수 있어야겠다. 보통 이렇게 나열식이고 짝 맞춰서 뭔가가 이뤄지

proprotrainee.tistory.com

https://proprotrainee.tistory.com/171?category=1104458 

 

[ BOJ / 파이썬 ] 2504 괄호의 값

음.. sum 값을 따로 빼주는 생각을 못 했다. 쉬울 줄 알았는데 은근 까다로운 문제다.. / 제출 1 / import sys input = sys.stdin.readline brackets = list(input()) stack = [] num = 1 sum = 0 for b in bracke..

proprotrainee.tistory.com

 


 

GoodGeul 프로젝트

220815 부분

https://proprotrainee.tistory.com/138?category=1110723 

 

[ REACT ] BOOKSITE ( GoodGeul)

 

proprotrainee.tistory.com

 

'Intro > Daily Study Note' 카테고리의 다른 글

[220818] Daily Study Note  (0) 2022.08.18
[220816] Daily Study Note  (0) 2022.08.16
[220814] Daily Study Note  (0) 2022.08.15
[220812] Daily Study Note  (0) 2022.08.13
[220811] Daily Study Note  (0) 2022.08.11