Skip to content

Conversation

@pq5910
Copy link
Contributor

@pq5910 pq5910 commented Jun 3, 2024

240603 김우정 0x05 풀이

Copy link
Collaborator

@heegane heegane left a comment

Choose a reason for hiding this comment

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

이번 문제 개인적으로 쉽지 않다고 생각했는데 고생 많으셨습니다 💪

Copy link
Collaborator

Choose a reason for hiding this comment

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

스택을 직접 구현해서 문제를 푸셨다니...너무 멋있어요! 👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

sb.append("+\n")도 가능하군요.. 저는 왜인지 모르게 sb.append("+").append("\n")로 썼는데.. 알아갑니다 😓

Copy link
Owner

Choose a reason for hiding this comment

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

저도 같아요 😂 생각이 닫혀있었네요.. 같이 알아갑니다~

Copy link
Collaborator

Choose a reason for hiding this comment

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

우정님께서는 upperStacklowerStack 두 개의 Stack을 사용하셨는데, 저는 currentNumber와 목표 값(number)를 비교해가며 하나의 Stack을 사용하는 방법으로 풀었습니다! 공간복잡도 측면에서 한번 보러 오셔도 좋을 것 같아요~!

@heegane heegane self-assigned this Jun 4, 2024
Copy link
Owner

Choose a reason for hiding this comment

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

못 푼 문제를 이해못한채 풀이하여 제출할 수 있었을텐데 이렇게 남겨주셔서 감사합니다!
우정님이 정말 자신의 성장을 위한 스터디를 진행하고 있다는 것이 느껴져서
스터디를 위한 스터디가 아니라 자신의 성장을 위한 스터디를 만들고 싶었던 저는 정말 감동했습니다!

추가로 이후 스터디 시간에 설명하겠지만 1. 문제의 어느 Point에서 Stack과 관련된 문제임을 알 수 있는가. 의 답은 역시 많이 풀어보는 것이 좋다는 답을 할 수 밖에 없네요!
코테가 나오는 것이 어느정도는 정형화 되어있기에 이후 해당 문제의 풀이를 이해하시고 자신의 것으로 만드신다면 분명 비슷한 문제를 만났을 때 다음 단계로 넘어갈 수 있으실 거라 장담할 수 있습니다!

고등학교때 모두가 근의 공식을 외우지 유도해서 푸는게 아닌 것 처럼요!
우정님 앞으로도 화이팅입니다!

@lee-JunR lee-JunR merged commit 1366b08 into lee-JunR:main Jun 4, 2024
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.

3 participants