8000 [23-01-31] doha.py by Lee-DoHa · Pull Request #31 · da-in/algorithm-study · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[23-01-31] doha.py #31

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

Merged
merged 4 commits into from
Jan 31, 2023
Merged

[23-01-31] doha.py #31

merged 4 commits into from
Jan 31, 2023

Conversation

Lee-DoHa
Copy link
Collaborator

PR Summary

같은 숫자는 싫어

중복 안되게 조건 넣어서 answer 배열에 append 해줬습니다.

올바른 괄호

문제 카테고리가 스택/큐라서 거기에 충실했어요(사실 안써도 풀 수 있었는데)
저는 Stack을 사용해서 담고, 비교해서 pop했습니다
마지막에 Stack이 비어있으면 True, 아니면 False로 return 했어요

폰켓몬

return에 삼항연산자 사용했습니다

ISSUE NUMBER

@Lee-DoHa Lee-DoHa merged commit cc5dede into da-in:main Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0