Skip to content

[bky373] Week 14 Solutions#214

Merged
leokim0922 merged 1 commit intoDaleStudy:mainfrom
bky373:main
Aug 5, 2024
Merged

[bky373] Week 14 Solutions#214
leokim0922 merged 1 commit intoDaleStudy:mainfrom
bky373:main

Conversation

@bky373
Copy link
Copy Markdown
Contributor

@bky373 bky373 commented Aug 3, 2024

No description provided.

Comment thread spiral-matrix/bky373.java
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

์™€, ์ฒœ์žฌ? ใ…‹ใ…‹ใ…‹

Copy link
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

3 participants