Skip to content

Conversation

bky373
Copy link
Contributor

@bky373 bky373 commented Aug 3, 2024

No description provided.

Comment on lines +14 to +29
while (m * n > 0) {
for (int k = 0; k < n; k++) {
j += dir;
output.add(matrix[i][j]);
}

m--;

for (int k = 0; k < m; k++) {
i += dir;
output.add(matrix[i][j]);
}

n--;
dir *= -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

@bky373 bky373 Aug 4, 2024

Choose a reason for hiding this comment

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

세상엔 저 빼고 천재가 정말 많은 것 같습니다.. ㅋㅋㅋ
시간 내에 풀지 못하여 풀이를 참고하였습니다 😭

@bky373 bky373 marked this pull request as ready for review August 4, 2024 15:50
@bky373 bky373 changed the title [bky373] Add Week 14 Solutions [bky373] Week 14 Solutions Aug 4, 2024
@leokim0922 leokim0922 merged commit 571aa6f 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