Skip to content

[SAM] WEEK 14 solutions, #213

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
Aug 5, 2024
Merged

[SAM] WEEK 14 solutions, #213

merged 4 commits into from
Aug 5, 2024

Conversation

SamTheKorean
Copy link
Contributor

No description provided.

Comment on lines +14 to +25
while rows > 0 and cols > 0:
for _ in range(cols):
col += direction
result.append(matrix[row][col])
rows -= 1

for _ in range(rows):
row += direction
result.append(matrix[row][col])
cols -= 1

direction *= -1
Copy link
Member

Choose a reason for hiding this comment

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

천재네요... 배우고 갑니다 ㅋㅋ

Copy link
Contributor Author

Choose a reason for hiding this comment

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

이 문제는 다른 분의 풀이를 참고했습니다....!

@DaleSeo
Copy link
Member

DaleSeo commented Aug 4, 2024

나머지 2문제도 풀 에정이신가요? PR이 아직 Draft 상태여서 여쭙니다.

@SamTheKorean SamTheKorean marked this pull request as ready for review August 4, 2024 05:08
@SamTheKorean
Copy link
Contributor Author

나머지 2문제도 풀 에정이신가요? PR이 아직 Draft 상태여서 여쭙니다.

Ready for review를 안눌렀군여...! 여쭤봐주셔서 감사합니다!

@leokim0922 leokim0922 merged commit 05497d3 into DaleStudy:main Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants