The journey to becoming a developer

My future is created by what I do today, not tomorrow.

What I learned/CodeSquad Log

CodeSquad Day 70 : Team Project Week 2

Millie 2022. 4. 16. 01:04

 

CodeSquad๐Ÿ”นDay 70

Team Project & PR

์˜ค๋Š˜์€ ํŒ€ ํ”„๋กœ์ ํŠธ ๋งˆ์ง€๋ง‰ ๋‚ ์ด์ž, ๋งˆ์ง€๋ง‰ PR์„ ๋ณด๋‚ด๋Š” ๋‚ ์ด์—ˆ๋‹ค. 

4์‹œ์—๋Š” ์กฐ๋ณ„๋กœ ๋ฐ๋ชจ์™€ ๋ฐœํ‘œ๊ฐ€ ์žˆ์—ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋ฐ๋ชจ๊ฐ€ ์•ฝ 1์‹œ๊ฐ„ ์ •๋„๋กœ ๋๋‚œ ํ›„์—๋Š” ํฌ๋กฑ์˜ ์ „์ฒด ํ”ผ๋“œ๋ฐฑ์ด ์žˆ์—ˆ๋‹ค. 

์ด์— ๋Œ€ํ•œ ํšŒ๊ณ ๋Š” ์ข€ ์‹œ๊ฐ„์„ ํˆฌ์žํ•ด์„œ ์ž‘์„ฑํ•  ์˜ˆ์ •์ด๋‹ค. ๋Š๋‚€ ๊ฒƒ๊ณผ ๋ฐฐ์šด ๊ฒƒ์ด ์ •๋ง ๋งŽ๊ณ , ๋˜ ์•„์‰ฌ์šด ์ ๋„ ์žˆ์—ˆ๋‹ค. ๊ทธ๋Ÿฐ ๊ฒƒ๋“ค์„ ์กฐ๊ธˆ์”ฉ ํ’€์–ด์„œ ์จ ๋ณผ ๊ฒƒ์ด๋‹ค. 

 

Algorithm

ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค์˜ "์ „๋ ฅ๋ง์„ ๋‘˜๋กœ ๋‚˜๋ˆ„๊ธฐ" ๋ฌธ์ œ๋ฅผ ์žฌ๋„์ „ํ•ด๋ณด์•˜๋‹ค. ๊ทธ๋Ÿฐ๋ฐ ๋‚ด๊ฐ€ ์ ‘๊ทผ์„ ์•„์˜ˆ ์ž˜๋ชป ํ–ˆ๋‹ค๋Š” ๊ฒƒ์„ ๊นจ๋‹ฌ์•˜๊ณ , BFS์™€ DFS๋ฅผ ๋” ์•Œ๊ณ  ์ ์šฉํ•  ์ˆ˜ ์žˆ์–ด์•ผ๊ฒ ๋‹ค๊ณ  ์ƒ๊ฐํ–ˆ๋‹ค. ๊ฒฐ๊ตญ ๋‚ด์ผ ๋‹ค์‹œ ๋„์ „ํ•ด ๋ณผ ์˜ˆ์ •์ด๋‹ค. 

 

Closure

๋‚ด์ผ ์˜คํ›„ 3์‹œ์— ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์Šคํ„ฐ๋””๊ฐ€ ์žˆ๋‹ค. ์ด๋ฒˆ ์ฃผ ์ฃผ์ œ๋Š” Closure์ด๋‹ค. ์ด๋ฒˆ ํ”„๋กœ์ ํŠธ์—์„œ๋„ ์‚ฌ์šฉํ•ด์„œ ์ด์ œ ์กฐ๊ธˆ์€ ์ต์ˆ™ํ•ด์ง„ ํด๋กœ์ €์ด์ง€๋งŒ ๋ง‰์ƒ ์กฐ๋ฆฌ ์žˆ๊ฒŒ ์„ค๋ช…ํ•˜๋ผ๊ณ  ํ•˜๋ฉด ์ •๋ฆฌ๊ฐ€ ์ž˜ ์•ˆ ๋˜์–ด ์žˆ๋‹ค. ๋‚ด์ผ ์˜ค์ „๋ถ€ํ„ฐ 3์‹œ ์ „๊นŒ์ง€๋Š” ํด๋กœ์ €์— ํ‘น ๋‹ด๊ฐ€์„œ ์ต์ˆ™ํ•ด์ง€๋Š” ๊ฒƒ ์ด์ƒ์œผ๋กœ ์กฐ๋ฆฌ ์žˆ๊ฒŒ ์„ค๋ช…์ด ๊ฐ€๋Šฅํ•˜๋„๋ก ์ค€๋น„ํ•ด ๊ฐˆ ๊ฒƒ์ด๋‹ค. ์˜ค๋Š˜์€ Deep Dive ์ฑ…๊ณผ ์ฝ”์–ด ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ฑ…์˜ ์•ž๋ถ€๋ถ„๋งŒ ์•ฝ๊ฐ„ ํ›‘์—ˆ๋‹ค. ์ธํ„ฐ๋ทฐ์— ๋‚˜์˜ฌ ๋งŒํ•œ ์งˆ๋ฌธ๋“ค์„ ๋ธ”๋กœ๊ทธ ๊ธ€๋กœ ์ •๋ฆฌํ•ด ๋ณด๋ ค๊ณ  ํ•œ๋‹ค. ์ €๋ฒˆ ์ฃผ์—๋Š” ์ค€๋น„๋ฅผ ๋งŽ์ด ๋ชป ํ•ด๊ฐ€์„œ ์•„์‰ฌ์›€์ด ๋งŽ์•˜๋Š”๋ฐ ๋‚ด์ผ์€ ์ •๋ง ์•„์‰ฌ์›€์ด ์—†๋„๋ก ์ค€๋น„ํ•ด ๋ณผ ๊ฒƒ์ด๋‹ค. 

 


 

4์›”์˜ 2์ฃผ๋ผ๋Š” ์‹œ๊ฐ„์ด ์ด๋ ‡๊ฒŒ ๋นจ๋ฆฌ ์ง€๋‚˜๊ฐ”๋‹ค๋Š” ๊ฒŒ ๋ฏฟ๊ธฐ์ง€๊ฐ€ ์•Š๋Š”๋‹ค. 2์ฃผ ๊ฐ„์˜ ํ”„๋กœ์ ํŠธ๊ฐ€ ๋๋‚˜๋‹ˆ ์ƒ๊ฐ๋„ ๋งŽ์•„์ง€๊ฒŒ ๋˜์–ด์„œ ๋– ์˜ค๋ฅธ ์•„์ด๋””์–ด๋“ค์„ ๋งˆ๊ตฌ ์ ์–ด๋ณด์•˜๋‹ค. ์•„์ด๋””์–ด๋“ค์ด ์•„์ด๋””์–ด๋กœ๋งŒ ๋‚จ์•„์žˆ์ง€ ์•Š๋„๋ก ์‹ค์ฒœํ•ด ๋ณด๋ ค๊ณ  ํ•œ๋‹ค. 

 

Be your own best advocate.

์ด ๋ง์ด ๊ณ„์† ๋– ์˜ค๋ฅด๊ณ  ์žˆ๋‹ค. ์„ฑ์žฅํ•ด ๋‚˜๊ฐ€๋Š” ๊ณผ์ •์€ ํ•˜๊ณ  ๋‚˜๋ฉด ๋ฟŒ๋“ฏํ•˜๋ฉด์„œ๋„, ๊ทธ ๊ณผ์ •์ด ํ•ญ์ƒ ์ฆ๊ฒ๊ฑฐ๋‚˜ ์‰ฌ์šธ ์ˆ˜๋Š” ์—†๋‹ค. ๊ทธ๋Ÿด ๋•Œ๋งˆ๋‹ค ์ € ๋ง์„ ๋˜๋‡Œ์ธ๋‹ค. 

'What I learned > CodeSquad Log' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

CodeSquad Day 72 : Team Project 2  (0) 2022.04.19
CodeSquad Day 71 : Team Project 2  (0) 2022.04.18
CodeSquad Day 69 : Team Project Week 2  (0) 2022.04.15
CodeSquad Day 68 : Team Project Week 2  (0) 2022.04.14
CodeSquad Day 67 : Team Project Week 2  (0) 2022.04.13