Skip to content

초급반 / 김민지 / 단어뒤집기2-17413, 파일정리-20291, ZOAC-30436 #108

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 3 commits into
base: main
Choose a base branch
from

Conversation

arenran02
Copy link
Contributor

No description provided.

@arenran02 arenran02 changed the title 초급반 / 김민지 / 단어뒤집기2-17413 초급반 / 김민지 / 단어뒤집기2-17413, 파일정리-20291, ZOAC-30436 May 28, 2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

문자별 좌표와 해당 손 정보를 구조체로 관리하고, 이를 바탕으로 거리를 계산하고 손의 위치를 업데이트하는 방식이 좋다고 생각합니다. 군더더기 없이 구현된 좋은 코드입니다.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

std::map<std::string, int>을 사용하여 고유한 파일 확장자를 키로, 해당 확장자를 가진 파일의 개수를 값으로 저장하는 방식으로 문제를 해결한 것이 좋다고 생각합니다.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

연결 리스트를 기반으로 스택을 구현하시고, push_stack, pop_stack, is_stack_empty, init_STACK 등의 기본적인 스택 연산들을 깔끔하게 잘 정의하셨습니다. 스택의 특성을 활용하여 문제의 요구사항을 효율적으로 해결하신 훌륭한 코드라고 생각합니다.
수고 많으셨습니다!

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.

3 participants