Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[25주차] 백제완 #336

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
KodaHye merged 2 commits into GreatAlgorithm-Study:main from jewan100:main
Mar 8, 2025
Merged

[25주차] 백제완 #336

KodaHye merged 2 commits into GreatAlgorithm-Study:main from jewan100:main
Mar 8, 2025

Conversation

Copy link
Contributor

@jewan100 jewan100 commented Mar 3, 2025

리뷰.

Copy link
Contributor

@KodaHye KodaHye left a comment

Choose a reason for hiding this comment

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

피자 도우를 Deque를 쓴거랑 큰 2차원 배열 한 개 쓰신거 빼고는 거의 비슷하네요! 좋습니당

Comment on lines +84 to +91
for (int i = w - 1; i >= 0; i--)
dough[3][i] = dq.pollLast();
for (int i = w - 1; i >= 0; i--)
dough[2][i] = dq.pollFirst();
for (int i = 0; i < w; i++)
dough[1][i] = dq.pollFirst();
for (int i = 0; i < w; i++)
dough[0][i] = dq.pollLast();
Copy link
Contributor

@KodaHye KodaHye Mar 3, 2025

Choose a reason for hiding this comment

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

밀가루 정보를 배열에 저장하면 인덱스를 신경써줘야 되는데, Deque를 활용해서 순차적으로 poll하니 간편하네요!

Copy link
Contributor Author

@jewan100 jewan100 Mar 3, 2025

Choose a reason for hiding this comment

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

멋지죠?

KodaHye reacted with thumbs up emoji KodaHye reacted with hooray emoji
Copy link
Contributor

@KodaHye KodaHye Mar 3, 2025

Choose a reason for hiding this comment

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

넵 ~~~!
그리고 리뷰 반사 부탁드려요 ~~~ ^ᄆ^

@KodaHye KodaHye merged commit c8165c0 into GreatAlgorithm-Study:main Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@KodaHye KodaHye KodaHye approved these changes

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /