Posts by Year

2024

ResizeObserver loop completed with undelivered notifications

2 minute read

ํ˜„์žฌ Vue3 App & Antd ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๊ฐœ๋ฐœํ•˜๊ณ  ์žˆ๋‹ค. ๋กœ์ปฌ ๊ฐœ๋ฐœํ™˜๊ฒฝ์—์„œ ๊ฐœ๋ฐœํ•˜๋Š” ์ค‘์— ์•„๋ž˜์™€ ๊ฐ™์€ webpack devserver overlay์— runtime์—๋Ÿฌ๊ฐ€ ๋–ด์—ˆ๋‹ค: ``` Uncaught runtime errors:

Back to top ↑

2023

Thick vs. Thin vs. Zero Clients

1 minute read

๊ฐœ์š” Thick ๋˜๋Š” Thin client๋ผ๋Š” ๋‹จ์–ด๋Š” ๋„คํŠธ์›Œํฌ๋กœ ์ด์–ด์ง„ ํด๋ผ์ด์–ธํŠธ-์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜์—์„œ ์‹œ์Šคํ…œ/์žฅ์น˜๊ฐ€ ์–ด๋–ป๊ฒŒ ๋ฐ์ดํ„ฐ๋ฅผ ํ”„๋กœ์„ธ์‹ฑํ•˜๊ณ  ์–ด๋Š์ •๋„์˜ ์ž์›์„ ์š”๊ตฌํ•˜๋Š”์ง€์— ๋”ฐ๋ผ ๋ถ„๋ฅ˜ํ•  ๋•Œ ์“ฐ์ธ๋‹ค. ๊ฐ ๋‹จ์–ด์˜ ๋œป์„ ์•Œ์•„๋ณด์ž.

Storage: RAID, LUN, SAN

2 minute read

๊ฐœ์š” ํšŒ์‚ฌ์—์„œ ๋ฌผ๋ฆฌ/๊ฐ€์ƒ์ž์› ์Šคํ† ๋ฆฌ์ง€ ๋ชจ๋‹ˆํ„ฐ๋ง ์—…๋ฌด๋ฅผ ์„ค๊ณ„ํ•ด์•ผํ•˜๋Š”๋ฐ ๋ชจ๋ฅด๋Š” ์šฉ์–ด๊ฐ€ ๋งŽ์•„์„œ ์ •๋ฆฌํ•ด๋ดค๋‹ค.

์ฐจํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ SVG vs Canvas ๋ญ˜ ์จ์•ผํ•˜๋‚˜ (feat. Echart)

3 minute read

๊ธฐ์กด์— ์ž‘์„ฑํ•œ SVG vs Canvas ์–ธ์ œ ์จ์•ผํ•˜๋‚˜์— ์ด์–ด์ง€๋Š” ๊ธ€์ด๋‹ค. ์ „ ๊ธ€์—๋Š” SVG์™€ Canvas ๊ธฐ์ˆ  ๊ฐ๊ฐ์— ๋Œ€ํ•ด ์„ค๋ช…ํ–ˆ๋‹ค๋ฉด ์ด ๊ธ€์€ Chart๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ SVG์™€ Canvas ๋ Œ๋”๋Ÿฌ ์ค‘ ์–ด๋–ค ๊ฒƒ์„ ์„ ํƒํ•ด์•ผํ•˜๋Š”์ง€ ๋‹ค๋ฃฌ๋‹ค.

SVG vs Canvas ์–ธ์ œ ์จ์•ผํ•˜๋‚˜

4 minute read

๊ฐœ์š” SVG์™€ Canvas๋Š” ๋‘˜๋‹ค HTML5์—์„œ ์ถ”๊ฐ€๋œ ๊ธฐ์ˆ ์ด๋‹ค. ๋‘˜๋‹ค ๊ทธ๋ž˜ํ”ฝ์„ ๊ทธ๋ฆฌ๋Š” ๊ธฐ์ˆ ์ด์ง€๋งŒ, ๊ทธ๋ ค์ง€๋Š” ๋ฐฉ์‹์ด ๋‹ค๋ฅด๋‹ค.

Yarn berry (Plug n Play)

4 minute read

์„œ๋ก  ํšŒ์‚ฌ ๋‹ค๋ฅธํŒ€ ์ƒํ’ˆ์— ์šฐ๋ฆฌํŒ€ ์ƒํ’ˆ์ด ๋“ค์–ด๊ฐ€๊ฒŒ๋˜๋ฉด์„œ, ๊ทธ ํŒ€์—์„œ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋˜ ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ €์ธ yarn berry๋ฅผ ๋”ฐ๋ผ์•ผ ํ–ˆ์—ˆ๋‹ค. ๊ทธ ์ „์—๋Š” pnpm์„ ์‚ฌ์šฉํ–ˆ์—ˆ๋Š”๋ฐ, yarn berry๋กœ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜์„ ํ•˜๋ฉด์„œ yarn berry์— ๋Œ€ํ•ด ์กฐ์‚ฌํ•œ ๋‚ด์šฉ์„ ๊ธฐ๋กํ•œ๋‹ค.

JS Proxy (feat. Vue3)

4 minute read

๊ฐœ์š” Vue3์—์„œ Proxy๋ฅผ ํ†ตํ•ด reactive object๋ฅผ ๋งŒ๋“ ๋‹ค๊ณ  ๋“ค์—ˆ๋‹ค.1 reactive ๋ณ€์ˆ˜๋ฅผ console.log๋กœ ์ฐ์–ด๋ณด๋ฉด Proxy๋กœ ๊ฐ์‹ธ์ ธ์žˆ๋Š”๊ฑธ ๋ณผ ์ˆ˜ ์žˆ๋‹ค. ์ด Proxy๊ฐ€ ๋„๋Œ€์ฒด ๋ญ๊ธธ๋ž˜ ํ™œ์šฉํ–ˆ๋‹ค๋Š”๊ฑธ๊นŒ? Vue3 ์ชฝ์„ ์ž์„ธํžˆ ๋ณด๊ธฐ์ „์— ES6์— ๋“ฑ์žฅํ•œ Pro...

JS ๋ฌธ์ž์—ด ์‹คํ–‰ (eval, new Function)

2 minute read

๊ฐœ์š” ๊ฐ„ํ˜น ๋ฌธ์ž์—ด๋กœ ์ €์žฅ๋œ js ์ฝ”๋“œ๋ฅผ ์‹คํ–‰ํ•ด์•ผ ํ•  ๋•Œ๊ฐ€ ์žˆ๋‹ค. ์ด๋Ÿด ๋•Œ๋Š” eval์ด๋‚˜ new Function์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ๊ฐ ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณธ๋‹ค. ํ•„์ž๊ฐ™์€ ๊ฒฝ์šฐ, DB์— ์ €์žฅ๋œ string ๊ฐ’์„ ์‹คํ–‰ํ•ด์•ผ๋  ๋•Œ๊ฐ€ ์žˆ์—ˆ์–ด์„œ ์ด๋Ÿฐ ๋ฐฉ๋ฒ•์„ ์ฐพ๊ฒŒ ๋˜์—ˆ๋‹ค. ๊ฒฐ๋ก ์ ์œผ๋กœ๋Š”, ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ ...

Server Side Events(SSE)

4 minute read

๊ฐœ์š” ์‹ค์‹œ๊ฐ„ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด์—ฌ์ค˜์•ผํ•˜๋Š” ํ™”๋ฉด์ด ์žˆ๋‹ค๊ณ  ๊ฐ€์ •ํ•œ๋‹ค. Web์—์„œ ๋งŽ์ด ์‚ฌ์šฉํ•˜๋Š” HTTP request-response ๋ชจ๋ธ์€ ํด๋ผ์ด์–ธํŠธ(๋ธŒ๋ผ์šฐ์ €)๊ฐ€ ์–ด๋–ค ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•ด ์š”์ฒญ์„ ๋ณด๋‚ด๊ณ , ๊ทธ์— ๋งž๋Š” ์‘๋‹ต์„ ์„œ๋ฒ„๊ฐ€ ๋‚ด๋ ค์ฃผ๋Š” ํ˜•ํƒœ๋‹ค. ์ด๋Ÿฐ ๋ชจ๋ธ์€ ์ •์ ์ธ ์ปจํ…์ธ ๋ฅผ ๋ณด์—ฌ์ค„ ๋•Œ์—๋Š” ์•Œ๋งž...

pnpm ๋„์ž… ๋ฐ ๋ช…๋ น์–ด

3 minute read

๊ฐœ์š” ํšŒ์‚ฌ์—์„œ ์ง„ํ–‰ํ•  ์ƒˆ๋กœ์šด ํ”„๋กœ์ ํŠธ์˜ ๊ธฐ์ˆ  ์Šคํƒ์„ ๊ณ ๋ฏผํ•˜๋ฉด์„œ, ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ €๋„ ์•Œ์•„๋ณด์•˜๋‹ค. 2์ฃผ ๋งŒ์— ๋ญ”๊ฐ€๊ฐ€ ๋‚˜์™€์•ผ ํ•˜๋Š” ์ƒํ™ฉ์ด๋ผ ์ž์„ธํžˆ ๋ฆฌ์„œ์น˜ํ•  ๊ธฐํšŒ๋Š” ์—†์—ˆ์ง€๋งŒ, ์งง์€ ์‹œ๊ฐ„ ๋™์•ˆ PNPM์— ๋Œ€ํ•ด ํŒŒ์•…ํ•œ ๋‚ด์šฉ๊ณผ ํšŒ์‚ฌ ํ”„๋กœ์ ํŠธ์— ๋„์ž…ํ•œ ๊ฒฝํ—˜์„ ์žŠ์ง€ ์•Š๊ณ  ๊ณต์œ ํ•˜๋ ค ๊ธฐ๋กํ•œ๋‹ค.

UI Fundamentals

2 minute read

Intro Iโ€™ve been working as a front-end since last year, and I started to question UI/UX and wanted to learn about the subject. Searching for UI/UX-related c...

๋นˆ ํด๋” git ์ปค๋ฐ‹

less than 1 minute read

๊ฐœ์š” ์ƒ์„ฑํ•œ ๋นˆ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ git commit ํ•˜๋Š” ๋ฒ•์„ ์•Œ์•„๋ณธ๋‹ค.

Shadow DOM์„ ํ™œ์šฉํ•˜์ž

2 minute read

Shadow DOM์ด๋ž€ ๋ธŒ๋ผ์šฐ์ €์˜ ๋ Œ๋”๋ง ์—”์ง„์€ HTML๊ณผ ๊ฐ™์€ ๋ฌธ์„œ(document)๋ฅผ ํŒŒ์‹ฑํ•ด์„œ DOM(Document Object Model) tree๋ฅผ ๋งŒ๋“ ๋‹ค. DOM ํŠธ๋ฆฌ๋Š” ๋ฌธ์„œ ๋‚ด์šฉ๊ณผ ๊ตฌ์กฐ๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ๊ณ„์ธต๊ตฌ์กฐ ํ˜•ํƒœ๋กœ ๋งŒ๋“ค์–ด ์ง„๋‹ค. DOM API๋ฅผ ์‚ฌ์šฉํ•ด์„œ DOM ํŠธ๋ฆฌ์™€ ๊ทธ...

Back to top ↑

2022

์ปค์Šคํ…€ bash ์‰˜ ํ„ฐ๋ฏธ๋„ - ์ž‘์—… ํด๋” ๊ธธ์ด ์ค„์ด๊ธฐ

less than 1 minute read

๊ฐœ์š” wsl๋กœ Ubuntu 20.04 LTS๋ฅผ ์„ค์น˜ํ•˜๊ณ , WSL bash ํ„ฐ๋ฏธ๋„์„ ์‚ฌ์šฉํ•ด์„œ ์ž‘์—… ์ค‘์ธ๋ฐ, WSL ๊ฐ™์€ ๊ฒฝ์šฐ /mnt/c/Users/{usernmae} ์ด๋Ÿฐ์‹์œผ๋กœ ์‹œ์ž‘๋œ๋‹ค. ์ž‘์—…ํ•˜๋Š” ํ”„๋กœ์ ํŠธ path๊ฐ€ ๊ธธ์–ด์ง€๊ฒŒ ๋˜๋ฉด, ํ„ฐ๋ฏธ๋„ prompt์— working direct...

VS Code์—์„œ WSL ํ„ฐ๋ฏธ๋„ ์„ค์ •ํ•˜๊ธฐ

less than 1 minute read

๊ฐœ์š” wsl ๋กœ Ubuntu 20.04 LTS ์„ค์น˜ํ•˜๊ณ , vs code์—์„œ default terminal์„ wsl ๋กœ ์„ค์ •ํ•˜๋Š” ๋ฒ•์„ ๋ฐฐ์›๋‹ˆ๋‹ค. wsl ์„ค์น˜ ์ „ ์ €๋Š” Git Bash๋ฅผ default ํ„ฐ๋ฏธ๋„๋กœ ์ผ์Šต๋‹ˆ๋‹ค.

Back to top ↑

2021

๋ณ„์  ์‹œ์Šคํ…œ์˜ ๋ฌธ์ œ์ ๊ณผ ํ•ด๊ฒฐ๋ฒ•

4 minute read

๊ฐœ์š” ์ƒˆ๋กœ ๋“ค์–ด๊ฐ€๋Š” ํ”Œ๋žซํผ ํ”„๋กœ์ ํŠธ์—์„œ ์„œ๋น„์Šค ๋ฆฌ๋ทฐ์‹œ์Šคํ…œ์„ ๋„์ž…ํ•˜๊ธฐ๋กœ ํ–ˆ์Šต๋‹ˆ๋‹ค. ์ฒ˜์Œ์— ๋‹จ์ˆœํžˆ ๋งŽ์€ ํ”Œ๋žซํผ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ณ„์  ์‹œ์Šคํ…œ์„ ๋– ์˜ฌ๋ ธ๋Š”๋ฐ ๋ณ„์ ์„ ์•…์šฉํ•˜๋Š” ๋ธ”๋ž™ ์ปจ์Šˆ๋จธ๋“ค์„ ์–ด๋–ป๊ฒŒ ๋ฐฉ์ง€ํ•˜๊ณ  ๋Œ€์‘ํ• ์ง€ ๊ณ ๋ฏผ์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋ณ„์  ์‹œ์Šคํ…œ ๊ด€๋ จ ๋ฌธ์ œ์ ๊ณผ ํ•ด๊ฒฐ๋ฒ•์— ๋Œ€ํ•ด ์ œ๊ฐ€ ๋ฆฌ์„œ์น˜ํ•˜๊ณ  ์ข…...

์ ˆ๋Œ€ ๊ฒฝ๋กœ๋กœ ์ •์ ํŒŒ์ผ(์ด๋ฏธ์ง€) ๊ฐ€์ ธ์˜ค๊ธฐ

2 minute read

๋ฆฌ์•กํŠธ ๋„ค์ดํ‹ฐ๋ธŒ ์•ฑ์—์„œ ์ ˆ๋Œ€ ๊ฒฝ๋กœ๋กœ ๊น”๋”ํ•˜๊ฒŒ ์ •์ ํŒŒ์ผ ๊ฐ€์ ธ์˜ค๋Š” ๋ฒ•์„ ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค.๐Ÿฅณ Using absolute paths to access static assets in React Native apps

์šด์˜์ฒด์ œ ์„œ๋น„์Šค

2 minute read

Summary ์šด์˜์ฒด์ œ๋Š” ์‚ฌ์šฉ์ž์™€ ์ปดํ“จํ„ฐ ํ•˜๋“œ์›จ์–ด ์‚ฌ์ด์— ํ†ต์‹  ์ธํ„ฐํŽ˜์ด์Šค(communication interface)๋กœ ์ผํ•œ๋‹ค.1 ์šด์˜์ฒด์ œ๋Š” CPU, ๋ฉ”์ธ ๋ฉ”๋ชจ๋ฆฌ, ํ•˜๋“œ๋””์Šคํฌ, ํ‚ค๋ณด๋“œ, ๋งˆ์šฐ์Šค, ํ”„๋ฆฐํ„ฐ ๋“ฑ ํ•˜๋“œ์›จ์–ด ์ž์›์„ ์‚ฌ์šฉ์ž ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ์ ์ ˆํžˆ ๋ถ„๋ฐฐํ•ด์ฃผ์–ด ์ปดํ“จํ„ฐ์˜ ์„ฑ๋Šฅ์„ ํšจ์œจ...

์ด์ค‘ ๋™์ž‘ ๋ชจ๋“œ(Dual Mode operation)

3 minute read

Summary ์šด์˜์ฒด์ œ์˜ ๋ณดํ˜ธ ๊ธฐ๋ฒ•์ด๋ผ๊ณ  ํ•  ์ˆ˜ ์žˆ๋Š” ์ด์ค‘ ๋™์ž‘ ๋ชจ๋“œ์— ๋Œ€ํ•ด ์•Œ์•„๋ณธ๋‹ค. 1 neon518๋‹˜ tistoryย ↩

Are REST APIs and HTTP APIs the same thing?

3 minute read

Summary Nowadays, many people seem to interchangeably use the words REST APIs and HTTP APIs. However, they are two different things. Through this post, I wil...

SQLD ํ•ฉ๊ฒฉ ํ›„๊ธฐ ๋ฐ ๊ณต๋ถ€ ๋ฐฉ๋ฒ•

1 minute read

ํ›„๊ธฐ ์ œ41ํšŒ SQLD ์‹œํ—˜์— ํ•ฉ๊ฒฉํ–ˆ์Šต๋‹ˆ๋‹ค. ์‹œํ—˜์€ 5์›” 29์ผ์— ์ณค์Šต๋‹ˆ๋‹ค. ์ œ๊ฐ€ ์‚ฌ์šฉํ–ˆ๋˜ ๊ณต๋ถ€์ž๋ฃŒ์™€ ๊ณต๋ถ€ํ–ˆ๋˜ ๋ฐฉ๋ฒ•์„ ๊ณต์œ ํ•ฉ๋‹ˆ๋‹ค.

Program๊ณผ Process์™€ Thread

7 minute read

Summary ํ”„๋กœ๊ทธ๋žจ๊ณผ ํ”„๋กœ์„ธ์Šค์™€ ์Šค๋ ˆ๋“œ์˜ ์ฐจ์ด๋ฅผ ์•Œ์•„๋ณธ๋‹ค.

์†์„ฑ (Attribute)

2 minute read

์†์„ฑ ์—…๋ฌด์—์„œ ํ•„์š”๋กœ ํ•˜๋Š” ์ธ์Šคํ„ด์Šค๋กœ ๊ด€๋ฆฌํ•˜๊ณ ์ž ํ•˜๋Š” ์˜๋ฏธ์ƒ ๋” ์ด์ƒ ๋ถ„๋ฆฌํ•  ์ˆ˜ ์—†๋Š” ์ตœ์†Œ์˜ ๋ฐ์ดํ„ฐ ๋‹จ์œ„

์—”ํ„ฐํ‹ฐ (Entity)

1 minute read

์—”ํ„ฐํ‹ฐ ์‚ฌ๋žŒ, ์žฅ์†Œ, ๋ฌผ๊ฑด, ์‚ฌ๊ฑด ๊ฐœ๋… ๋“ฑ์˜ ๋ช…์‚ฌ ์—…๋ฌด์ƒ ๊ด€๋ฆฌ๊ฐ€ ํ•„์š”ํ•œ ๊ด€์‹ฌ์‚ฌ ์ €์žฅ์ด ๋˜๊ธฐ ์œ„ํ•œ ์–ด๋–ค ๊ฒƒ (Thing) ์ธ์Šคํ„ด์Šค์˜ ์ง‘ํ•ฉ

Regex (์ •๊ทœํ‘œํ˜„์‹)

3 minute read

์ •๊ทœ์‹์ด๋ž€ Regex (regular expression, regex, regexp, or rational expression, ์ •๊ทœํ‘œํ˜„์‹)์€ ํŠน์ •ํ•œ ํ…์ŠคํŠธ ํŒจํ„ด์„ ํ‘œํ˜„ํ•˜๋Š” ๋ฌธ์ž์—ด์ž…๋‹ˆ๋‹ค. ํ…์ŠคํŠธ์—์„œ ํŠน์ •ํ•œ ํŒจํ„ด์„ ์ฐพ์„ ๋•Œ ๋„๋ฆฌ ์“ฐ์ž…๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ ๋ชจ๋ธ๋ง(1)

2 minute read

SQLD ์‹œํ—˜ ๋ณด๊ณ ๋‚˜์„œ ์ •๋ฆฌํ•  ๊ฒธ ์ž‘์„ฑํ•ด ๋ด…๋‹ˆ๋‹ค. ์‹œํ—˜๊ด€๋ จ ํ›„๊ธฐ๋Š” ๊ณง ์˜ฌ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค.

๋กœ์ปฌ ์ œํ‚ฌ ๊นƒํ—™ ๋ธ”๋กœ๊ทธ ๋ชจ๋ฐ”์ผ์—์„œ ํ™•์ธํ•˜๋Š” ๋ฒ•

1 minute read

Summary ์ œํ‚ฌ ๊นƒํ—™ ๋ธ”๋กœ๊ทธ๋ฅผ ์ž‘์„ฑ/๊ฐœ๋ฐœํ•  ๋•Œ ๋กœ์ปฌ ์ปดํ“จํ„ฐ๋‚˜ ๋ชจ๋ฐ”์ผ ๊ธฐ๊ณ„๋กœ ๋ฐ”๋กœ ํ™•์ธํ•˜๋Š” ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค. ์ด์™ธ์˜ ๊ฒฝ์šฐ๋“ค(๋ผ์ด๋ธŒ๋ฆฌ๋กœ๋“œ, ๋ฏธ๋ž˜ ํฌ์ŠคํŠธ)์— ๋Œ€ํ•ด์„œ๋„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค DB ํŒŒํ‹ฐ์…”๋‹๊ณผ ํด๋Ÿฌ์Šคํ„ฐ๋ง

2 minute read

ํŒŒํ‹ฐ์…”๋‹ (Partitioning) ์šฉ๋Ÿ‰์ด ํฐ Table ์ด๋‚˜ ์ธ๋ฑ์Šค๋ฅผ ๊ด€๋ฆฌํ•˜๊ธฐ ์‰ฌ์šด ๋‹จ์œ„(partition)๋กœ ๋ถ„๋ฆฌํ•˜๋Š” ๋ฐฉ๋ฒ• ํ•˜๋‚˜์˜ ํ…Œ์ด๋ธ”์— ๋งŽ์€ ์–‘์˜ ๋ฐ์ดํ„ฐ๊ฐ€ ์ €์žฅ๋˜๋ฉด, ์ธ๋ฑ์Šค๋ฅผ ์ถ”๊ฐ€ํ•˜๊ณ  ํ…Œ์ด๋ธ”์„ ๋ช‡ ๊ฐœ๋กœ ์ชผ๊ฐœ๋„ ์„ฑ๋Šฅ์ด ์ €ํ•˜๋˜๋Š” ๊ฒฝ์šฐ์ผ ๋•Œ. ๋…ผ๋ฆฌ์ ์œผ๋กœ๋Š” ํ•˜๋‚˜์˜ ํ…Œ์ด...

๋ฐฑ์ค€ 10162๋ฒˆ ์ „์ž๋ ˆ์ธ์ง€

1 minute read

๋ฌธ์ œ 3๊ฐœ์˜ ์‹œ๊ฐ„์กฐ์ ˆ์šฉ ๋ฒ„ํŠผ A B C๊ฐ€ ๋‹ฌ๋ฆฐ ์ „์ž๋ ˆ์ธ์ง€๊ฐ€ ์žˆ๋‹ค. ๊ฐ ๋ฒ„ํŠผ๋งˆ๋‹ค ์ผ์ •ํ•œ ์‹œ๊ฐ„์ด ์ง€์ •๋˜์–ด ์žˆ์–ด ํ•ด๋‹น ๋ฒ„ํŠผ์„ ํ•œ๋ฒˆ ๋ˆ„๋ฅผ ๋•Œ๋งˆ๋‹ค ๊ทธ ์‹œ๊ฐ„์ด ๋™์ž‘์‹œ๊ฐ„์— ๋”ํ•ด์ง„๋‹ค. ๋ฒ„ํŠผ A, B, C์— ์ง€์ •๋œ ์‹œ๊ฐ„์€ ๊ฐ๊ฐ 5๋ถ„, 1๋ถ„, 10์ดˆ์ด๋‹ค.

๋ฐฑ์ค€ 2217๋ฒˆ ๋กœํ”„

2 minute read

๋ฌธ์ œ N(1 โ‰ค N โ‰ค 100,000)๊ฐœ์˜ ๋กœํ”„๊ฐ€ ์žˆ๋‹ค. ์ด ๋กœํ”„๋ฅผ ์ด์šฉํ•˜์—ฌ ์ด๋Ÿฐ ์ €๋Ÿฐ ๋ฌผ์ฒด๋ฅผ ๋“ค์–ด์˜ฌ๋ฆด ์ˆ˜ ์žˆ๋‹ค. ๊ฐ๊ฐ์˜ ๋กœํ”„๋Š” ๊ทธ ๊ตต๊ธฐ๋‚˜ ๊ธธ์ด๊ฐ€ ๋‹ค๋ฅด๊ธฐ ๋•Œ๋ฌธ์— ๋“ค ์ˆ˜ ์žˆ๋Š” ๋ฌผ์ฒด์˜ ์ค‘๋Ÿ‰์ด ์„œ๋กœ ๋‹ค๋ฅผ ์ˆ˜๋„ ์žˆ๋‹ค.

๋ฐฑ์ค€ 1541๋ฒˆ ์žƒ์–ด๋ฒ„๋ฆฐ ๊ด„ํ˜ธ

1 minute read

๋ฌธ์ œ ์„ธ์ค€์ด๋Š” ์–‘์ˆ˜์™€ +, -, ๊ทธ๋ฆฌ๊ณ  ๊ด„ํ˜ธ๋ฅผ ๊ฐ€์ง€๊ณ  ์‹์„ ๋งŒ๋“ค์—ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋‚˜์„œ ์„ธ์ค€์ด๋Š” ๊ด„ํ˜ธ๋ฅผ ๋ชจ๋‘ ์ง€์› ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋‚˜์„œ ์„ธ์ค€์ด๋Š” ๊ด„ํ˜ธ๋ฅผ ์ ์ ˆํžˆ ์ณ์„œ ์ด ์‹์˜ ๊ฐ’์„ ์ตœ์†Œ๋กœ ๋งŒ๋“ค๋ ค๊ณ  ํ•œ๋‹ค. ๊ด„ํ˜ธ๋ฅผ ์ ์ ˆํžˆ ์ณ์„œ ์ด ์‹์˜ ๊ฐ’์„ ์ตœ์†Œ๋กœ ๋งŒ๋“œ๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ž‘์„ฑํ•˜์‹œ์˜ค.

๋ฐฑ์ค€ 1931๋ฒˆ ํšŒ์˜์‹ค ๋ฐฐ์ •

2 minute read

๋ฌธ์ œ ํ•œ ๊ฐœ์˜ ํšŒ์˜์‹ค์ด ์žˆ๋Š”๋ฐ ์ด๋ฅผ ์‚ฌ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” N๊ฐœ์˜ ํšŒ์˜์— ๋Œ€ํ•˜์—ฌ ํšŒ์˜์‹ค ์‚ฌ์šฉํ‘œ๋ฅผ ๋งŒ๋“ค๋ ค๊ณ  ํ•œ๋‹ค. ๊ฐ ํšŒ์˜ I์— ๋Œ€ํ•ด ์‹œ์ž‘์‹œ๊ฐ„๊ณผ ๋๋‚˜๋Š” ์‹œ๊ฐ„์ด ์ฃผ์–ด์ ธ ์žˆ๊ณ , ๊ฐ ํšŒ์˜๊ฐ€ ๊ฒน์น˜์ง€ ์•Š๊ฒŒ ํ•˜๋ฉด์„œ ํšŒ์˜์‹ค์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ํšŒ์˜์˜ ์ตœ๋Œ€ ๊ฐœ์ˆ˜๋ฅผ ์ฐพ์•„๋ณด์ž. ๋‹จ, ํšŒ์˜๋Š” ํ•œ๋ฒˆ ์‹œ์ž‘ํ•˜๋ฉด ์ค‘๊ฐ„...

๋ฐฑ์ค€ 11399๋ฒˆ ATM - Greedy ver.

2 minute read

๋ฌธ์ œ ์ธํ•˜์€ํ–‰์—๋Š” ATM์ด 1๋Œ€๋ฐ–์— ์—†๋‹ค. ์ง€๊ธˆ ์ด ATM์•ž์— N๋ช…์˜ ์‚ฌ๋žŒ๋“ค์ด ์ค„์„ ์„œ์žˆ๋‹ค. ์‚ฌ๋žŒ์€ 1๋ฒˆ๋ถ€ํ„ฐ N๋ฒˆ๊นŒ์ง€ ๋ฒˆํ˜ธ๊ฐ€ ๋งค๊ฒจ์ ธ ์žˆ์œผ๋ฉฐ, i๋ฒˆ ์‚ฌ๋žŒ์ด ๋ˆ์„ ์ธ์ถœํ•˜๋Š”๋ฐ ๊ฑธ๋ฆฌ๋Š” ์‹œ๊ฐ„์€ Pi๋ถ„์ด๋‹ค.

๋ฐฑ์ค€ 2839๋ฒˆ ์„คํƒ•๋ฐฐ๋‹ฌ ล Eฤ†ER - Greedy ver.

1 minute read

Kor ๋ฌธ์ œ ์ƒ๊ทผ์ด๋Š” ์š”์ฆ˜ ์„คํƒ•๊ณต์žฅ์—์„œ ์„คํƒ•์„ ๋ฐฐ๋‹ฌํ•˜๊ณ  ์žˆ๋‹ค. ์ƒ๊ทผ์ด๋Š” ์ง€๊ธˆ ์‚ฌํƒ•๊ฐ€๊ฒŒ์— ์„คํƒ•์„ ์ •ํ™•ํ•˜๊ฒŒ Nํ‚ฌ๋กœ๊ทธ๋žจ์„ ๋ฐฐ๋‹ฌํ•ด์•ผ ํ•œ๋‹ค. ์„คํƒ•๊ณต์žฅ์—์„œ ๋งŒ๋“œ๋Š” ์„คํƒ•์€ ๋ด‰์ง€์— ๋‹ด๊ฒจ์ ธ ์žˆ๋‹ค. ๋ด‰์ง€๋Š” 3ํ‚ฌ๋กœ๊ทธ๋žจ ๋ด‰์ง€์™€ 5ํ‚ฌ๋กœ๊ทธ๋žจ ๋ด‰์ง€๊ฐ€ ์žˆ๋‹ค.

WIS2021 ํ›„๊ธฐ

3 minute read

๊ณผํ•™ ๊ธฐ์ˆ ์ •๋ณดํ†ต์‹ ๋ถ€์—์„œ ์ฃผ์ตœํ•˜๋Š” World IT Show(WIS) 2021 ๋ฅผ ๊ตฌ๊ฒฝ ๊ฐ”๋‹ค ์™”์Šต๋‹ˆ๋‹ค. 4์›” 21์ผ๋ถ€ํ„ฐ 23์ผ๊นŒ์ง€ ์ง„ํ–‰ํ•˜๋˜ ํ–‰์‚ฌ์˜€๋Š”๋ฐ, ์ €๋Š” ์ˆ˜์š”์ผ์— ๊ฐ”์Šต๋‹ˆ๋‹ค. ์žฅ์†Œ๋Š” ์ฝ”์—‘์Šค!

Back to top ↑