Skip to content
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

solved 괄호 - 4ms 2mb #271

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

solved 괄호 - 4ms 2mb #271

wants to merge 1 commit into from

Conversation

euny0ung
Copy link
Member

💿 풀이 문제

#261

📝 풀이 후기

스택 예시 문제로 가장 잘 알려진 문제라서 쉬웠습니다.

📚 문제 풀이 핵심 키워드

  • (인 경우 스택에 넣어주고, )인 경우는 스택이 비어있지 않을 경우에 pop 합니다. 이 때 스택이 비어있다면 NO이고 for문을 다 돌고나서 스택이 비어있지 않은 경우도 NO입니다. 이렇게 검사를 두번 해줘야하기 때문에 직접 출력하는 대신 함수로 빼서 함수 반환값이 true일 때, false일 때로 나누어서 출력했습니다.

🤔 리뷰로 궁금한 점

🧑‍💻 제출자 확인 사항

  • Convention(commit, pr 제목)이 올바른가요?
  • 괄호 내 안내문은 삭제하셨나요?
  • 본인의 체감 난도 Label을 등록했나요?
  • 제출자 확인 사항을 모두 확인하셨나요?

@euny0ung euny0ung added C++ C++로 풀이한 경우 선택합니다. Easy 책정 혹은 체감 난이도 쉬움 시 선택합니다. labels Dec 10, 2024
@tykimdream tykimdream mentioned this pull request Dec 10, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ C++로 풀이한 경우 선택합니다. Easy 책정 혹은 체감 난이도 쉬움 시 선택합니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant