ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค - ์š”๊ฒฉ ์‹œ์Šคํ…œ
ยท
Algorithm/ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค
https://school.programmers.co.kr/learn/courses/30/lessons/181188 ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค ์ฝ”๋“œ ์ค‘์‹ฌ์˜ ๊ฐœ๋ฐœ์ž ์ฑ„์šฉ. ์Šคํƒ ๊ธฐ๋ฐ˜์˜ ํฌ์ง€์…˜ ๋งค์นญ. ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค์˜ ๊ฐœ๋ฐœ์ž ๋งž์ถคํ˜• ํ”„๋กœํ•„์„ ๋“ฑ๋กํ•˜๊ณ , ๋‚˜์™€ ๊ธฐ์ˆ  ๊ถํ•ฉ์ด ์ž˜ ๋งž๋Š” ๊ธฐ์—…๋“ค์„ ๋งค์นญ ๋ฐ›์œผ์„ธ์š”. programmers.co.kr ๋ฌธ์ œ ๋ฐœ์‚ฌํ•œ ๋ฏธ์‚ฌ์ผ์€ x์ถ•์— ํ‰ํ–‰ํ•œ ์ง์„  ํ˜•ํƒœ์˜ ๋ชจ์–‘์ด๋ฉฐ ์ •์ˆ˜ ์Œ (s, e) ํ˜•ํƒœ๋กœ ํ‘œํ˜„๋จ y ์ถ•์— ์ˆ˜ํ‰์ด ๋˜๋„๋ก ๋ฏธ์‚ฌ์ผ์„ ๋ฐœ์‚ฌํ•˜๋ฉฐ, ๋ฐœ์‚ฌ๋œ ๋ฏธ์‚ฌ์ผ์€ ํ•ด๋‹น x ์ขŒํ‘œ์— ๊ฑธ์ณ์žˆ๋Š” ๋ชจ๋“  ํญ๊ฒฉ ๋ฏธ์‚ฌ์ผ์„ ๊ด€ํ†ตํ•˜์—ฌ ํ•œ ๋ฒˆ์— ์š”๊ฒฉํ•  ์ˆ˜ ์žˆ์Œ ๋‹จ, ๊ฐœ๊ตฌ๊ฐ„ (s, e)๋กœ ํ‘œํ˜„๋˜๋Š” ํญ๊ฒฉ ๋ฏธ์‚ฌ์ผ์€ s์™€ e์—์„œ ๋ฐœ์‚ฌํ•˜๋Š” ์š”๊ฒฉ ๋ฏธ์‚ฌ์ผ๋กœ๋Š” ์š”๊ฒฉํ•  ์ˆ˜ ์—†์Šต ๊ฐ ํญ๊ฒฉ ๋ฏธ์‚ฌ์ผ์˜ x ์ขŒํ‘œ ๋ฒ”์œ„ ๋ชฉ๋ก targets์ด ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ..
๊ธฐ์ถœ ๋ฌธ์ œ ํ’€์ด - ํ† ์Šค NEXT 2022๋…„ ์ฝ”๋”ฉํ…Œ์ŠคํŠธ Server ๊ณต๊ฐœ ๋ฌธ์ œ
ยท
Algorithm
https://toss.im/career/article/next-developer-2023-sample-questions?utm_source=toss_careerpage&utm_medium=post&utm_campaign=next23&utm_content=questions [ํ† ์Šค NEXT] 2022๋…„ ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ๊ธฐ์ถœ๋ฌธ์ œ๋ฅผ ๊ณต๊ฐœํ•ด์š” ์•ฝ 8,000๋ช…์˜ ์ง€์›์ž๊ฐ€ ์žˆ์—ˆ๋˜ 2022๋…„ ํ† ์Šค NEXT ๊ฐœ๋ฐœ์ž ์ฑŒ๋ฆฐ์ง€. ๋งŽ์€ ์ธ์›์ด ์ฐธ์—ฌํ•œ ๋งŒํผ, ์ง€์›์ž์˜ ์—ญ๋Ÿ‰์„ ๋” ๋ฉด๋ฐ€ํžˆ ๊ฒ€์ฆํ•  ์ˆ˜ ์žˆ๋„๋ก ํ† ์Šค์˜ ๊ฐ ์ฑ•ํ„ฐ (Frontend, Server ๋“ฑ์˜ ๊ธฐ์ˆ  ์กฐ์ง) ์—์„œ๋„ ๋ฌธ์ œ toss.im ํ† ์Šค NEXT 2023๋…„ ์ฝ”๋”ฉํ…Œ์ŠคํŠธ๋ฅผ ์•ž๋‘๊ณ  ํ† ์Šค ์ฑ„์šฉ ํ™ˆํŽ˜์ด์ง€์— ๊ณต๊ฐœ๋˜์–ด ์žˆ๋Š” Server ์ง๊ตฐ์˜ ๋ฌธ์ œ๋ฅผ 1๊ฐœ ํ’€์–ด๋ดค๋‹ค! ๋Œ€๋ถ€๋ถ„์˜ ์‚ฌ๋žŒ๋“ค์ด..
[Infra] Docker, Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ MSA ํ”„๋กœ์ ํŠธ CI/CD ๊ตฌ์ถ•ํ•˜๊ธฐ(3) - Jenkins ํŒŒ์ดํ”„๋ผ์ธ ๊ตฌ์ถ•
ยท
Infra
์ด ์‹œ๋ฆฌ์ฆˆ์—์„œ๋Š” MSA ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ ๋’ค, Docker์™€ Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ CI/CD๋ฅผ ๊ตฌ์ถ•ํ•˜๋Š” ๊ณผ์ •์„ ์„ค๋ช…ํ•˜๋„๋ก ํ•˜๊ฒ ๋‹ค. ์ด์ „ ํฌ์ŠคํŒ…์—์„œ๋Š” Docker๋ฅผ ์„ค์น˜์™€ ์ˆ˜๋™ ๋ฐฐํฌ ๊ณผ์ •๊ณผ ์ž๋™ ๋ฐฐํฌ์˜ ํ•„์š”์„ฑ์— ๋Œ€ํ•ด ์„ค๋ช…ํ–ˆ์—ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  Jenkins๋ฅผ ์„ค์น˜ํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ๋„ ์„ค๋ช…ํ–ˆ๋‹ค Docker ์„ค์น˜ํ•˜๊ธฐ : https://programmingiraffe.tistory.com/12 [Infra] Docker, Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ MSA ํ”„๋กœ์ ํŠธ CI/CD ๊ตฌ์ถ•ํ•˜๊ธฐ(1) - Docker ์„ค์น˜ ์ด ํฌ์ŠคํŒ…์—์„œ๋Š” MSA ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ ๋’ค, Docker์™€ Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ CI/CD๋ฅผ ๊ตฌ์ถ•ํ•˜๋Š” ๊ณผ์ •์„ ์„ค๋ช…ํ•˜๋„๋ก ํ•˜๊ฒ ๋‹ค. ๊ตฌ๊ธ€๋ง ํ•˜๋ฉด์„œ ๋…ํ•™์„ ํ–ˆ๊ณ , ๋ฌด์ˆ˜ํ•œ ์‚ฝ์งˆ๊ณผ ์ด์ „ ํ”„๋กœ์ ํŠธ๋“ค์˜ ๋ฌธ์„œ์™€ ์ฃผ๋ณ€ ๋™..
[Infra] Docker, Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ MSA ํ”„๋กœ์ ํŠธ CI/CD ๊ตฌ์ถ•ํ•˜๊ธฐ(2) - Jenkins ์„ค์น˜
ยท
Infra
์ด ์‹œ๋ฆฌ์ฆˆ์—์„œ๋Š” MSA ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ ๋’ค, Docker์™€ Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ CI/CD๋ฅผ ๊ตฌ์ถ•ํ•˜๋Š” ๊ณผ์ •์„ ์„ค๋ช…ํ•˜๋„๋ก ํ•˜๊ฒ ๋‹ค. ์ด์ „ ํฌ์ŠคํŒ…์—์„œ๋Š” Docker๋ฅผ ์„ค์น˜์™€ ์ˆ˜๋™ ๋ฐฐํฌ ๊ณผ์ •๊ณผ ์ž๋™ ๋ฐฐํฌ์˜ ํ•„์š”์„ฑ์— ๋Œ€ํ•ด ์„ค๋ช…ํ–ˆ์—ˆ๋‹ค. https://programmingiraffe.tistory.com/123 [Infra] Docker, Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ MSA ํ”„๋กœ์ ํŠธ CI/CD ๊ตฌ์ถ•ํ•˜๊ธฐ(1) - Docker ์„ค์น˜ ์ด ํฌ์ŠคํŒ…์—์„œ๋Š” MSA ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ ๋’ค, Docker์™€ Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ CI/CD๋ฅผ ๊ตฌ์ถ•ํ•˜๋Š” ๊ณผ์ •์„ ์„ค๋ช…ํ•˜๋„๋ก ํ•˜๊ฒ ๋‹ค. ๊ตฌ๊ธ€๋ง ํ•˜๋ฉด์„œ ๋…ํ•™์„ ํ–ˆ๊ณ , ๋ฌด์ˆ˜ํ•œ ์‚ฝ์งˆ๊ณผ ์ด์ „ ํ”„๋กœ์ ํŠธ๋“ค์˜ ๋ฌธ์„œ์™€ ์ฃผ๋ณ€ ๋™ programmingiraffe.tistory.com ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ์ง€์†์  ..
[Infra] Docker, Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ MSA ํ”„๋กœ์ ํŠธ CI/CD ๊ตฌ์ถ•ํ•˜๊ธฐ(1) - Docker ์„ค์น˜
ยท
Infra
์ด ํฌ์ŠคํŒ…์—์„œ๋Š” MSA ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ ๋’ค, Docker์™€ Jenkins๋ฅผ ์ด์šฉํ•˜์—ฌ CI/CD๋ฅผ ๊ตฌ์ถ•ํ•˜๋Š” ๊ณผ์ •์„ ์„ค๋ช…ํ•˜๋„๋ก ํ•˜๊ฒ ๋‹ค. ๊ตฌ๊ธ€๋ง ํ•˜๋ฉด์„œ ๋…ํ•™์„ ํ–ˆ๊ณ , ๋ฌด์ˆ˜ํ•œ ์‚ฝ์งˆ๊ณผ ์ด์ „ ํ”„๋กœ์ ํŠธ๋“ค์˜ ๋ฌธ์„œ์™€ ์ฃผ๋ณ€ ๋™๊ธฐ๋“ค์˜ ๋„์›€์„ ๋ฐ›์€ ๋์— ๋‚ด ํ”„๋กœ์ ํŠธ์˜ ํ™˜๊ฒฝ์— ๋งž๊ฒŒ CI/CD๋ฅผ ๊ตฌ์ถ•ํ•  ์ˆ˜ ์žˆ์—ˆ๋‹ค! ๋ถ€์กฑํ•œ ๋ถ€๋ถ„๋„ ์žˆ์ง€๋งŒ(๋ฌด์ค‘๋‹จ ๋ฐฐํฌ X, docker-compse ์‚ฌ์šฉ X, ๋ณด์•ˆ ์‹ ๊ฒฝ ๋ชป์”€) ์Šค์Šค๋กœ Docker, Jenkins์˜ ๊ฐœ๋…์„ ๊ณต๋ถ€ํ•˜๊ณ , ๋ฐ”๋กœ ํŒ€ ํ”„๋กœ์ ํŠธ์— ์ ์šฉํ–ˆ๋‹ค๋Š” ์ ์—์„œ ์ข‹์•˜๋‹ค. ์‚ฝ์งˆํ•˜๋ฉด์„œ ๋ฐฐ์šด ๊ฒƒ์„ ์•ˆ ๊นŒ๋จน๊ณ ์ž, ๊ทธ๋ฆฌ๊ณ  ๋ˆ„๊ตฐ๊ฐ€์—๊ฒŒ ๋„์›€์ด ๋˜๊ณ ์ž ๊ณผ์ •์„ ์ •๋ฆฌํ•ด๋ณด๋ ค๊ณ  ํ•œ๋‹ค. 3๊ฐœ์˜ ํฌ์ŠคํŒ…์— ๋‚˜๋ˆ ์„œ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‚ด์šฉ์œผ๋กœ ์ง„ํ–‰๋  ๊ฒƒ์ด๋‹ค. 1. Docker ์„ค์น˜ํ•˜๊ธฐ + ์ˆ˜๋™ ๋ฐฐํฌ 2. ์ž๋™ ๋ฐฐํฌ๋ฅผ ์œ„ํ•œ Je..
[GIT] Gitlab์—์„œ Github์œผ๋กœ Repository ๋ฏธ๋Ÿฌ๋งํ•˜๊ธฐ + LFS ์ ์šฉ
ยท
Git
Gitlab์—์„œ ์ž‘์—…ํ•œ ํ”„๋กœ์ ํŠธ๋ฅผ Github์œผ๋กœ ์˜ฎ๊ฒจ์•ผ ํ•œ๋‹ค. zip ํŒŒ์ผ๋กœ ๋‹ค์šด๋กœ๋“œํ•ด์„œ Gibhub์— ๊ทธ๋Œ€๋กœ ์˜ฎ๊ธธ ์ˆ˜ ์žˆ์ง€๋งŒ, ๊ทธ๋ ‡๊ฒŒ ํ•˜๋ฉด commit ๊ธฐ๋ก์„ ๊ทธ๋Œ€๋กœ ์˜ฎ๊ธธ ์ˆ˜ ์—†๋‹ค.. ๋‚ด ๊ณ„์ • Github๊ณผ ๋™๊ธฐํ™”๋ฅผ ํ•˜๊ณ  ์ž”๋””๋ฅผ ์ฑ„์›Œ์•ผ ํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๊ทธ๋Œ€๋กœ ์˜ฎ๊ธฐ๋Š” ์ž‘์—…์ด ํ•„์š”ํ•˜๋‹ค. ์ด๋Ÿด ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด ๋ฏธ๋Ÿฌ๋ง์ด๋‹ค! Gitlab์—์„œ ์ €์žฅ์†Œ๋ฅผ ๋ณต์‚ฌ git clone --mirror #gitlab ์ €์žฅ์†Œ ์ฃผ์†Œ .git์œผ๋กœ ๋””๋ ‰ํ† ๋ฆฌ ์ด๋™ cd #์ƒ์„ฑ๋œ .git ํŒŒ์ผ ๋ฏธ๋Ÿฌ๋งํ•  Github ์ €์žฅ์†Œ ์ง€์ • Github์— ์ƒˆ๋กœ Repository๋ฅผ ์ƒ์„ฑํ•œ๋‹ค. git remote set-url --push origin #์ด๋™ํ•  github ์ฃผ์†Œ Github ์ €์žฅ์†Œ๋กœ Push git push --mirror โ— ์—๋Ÿฌ ์ฃผ..
giraffe_
'๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก (11 Page)