Skip to content

0919 임웅균 3문제 #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

cornsilk-tea
Copy link
Contributor

[백준] 27497 알파벳블록
난이도 : 실버2
알고리즘 유형 : deque, stack
deque을 사용하여 문자열 만들고, stack을 사용하여 이력을 관리해 이전문자 제거시 stack을 pop해 처리해줌

[백준] 2310 어드벤처 게임
난이도 : 골드4
알고리즘 유형 : dfs, bfs
갓예은님 리뷰보고 힌트얻어 해결함.
이 문제는 방문배열을 잘 정의하는것이 중요해보였다.
방문배열에 금액을 추가한 visited[n][501]을 만들어 해당 금액을 통과했었는지를 체크했다.

[백준] 20058 마법사 상어와 파이어스톰
난이도 : 골드3
알고리즘 유형 : 시뮬레이션
말그대로 구현했으나, 배열 돌리기시 원본배열 자체를 돌리고 싶었으나 끝없는 오류 발생으로 임시 배열을 생성하여 회전시킨 후 원본배열에 붙여넣는 방식으로 진행.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant