URN/URI/URL
What is this? URL or URI? https://www.google.com answer: both but being precise, URL. ๐ URI Uniform Resouce Identifier ๋ฆฌ์์ค์ ์ด๋ฆ(์๋ณ์) ์์: www.google.com URI โ URL...
What is this? URL or URI? https://www.google.com answer: both but being precise, URL. ๐ URI Uniform Resouce Identifier ๋ฆฌ์์ค์ ์ด๋ฆ(์๋ณ์) ์์: www.google.com URI โ URL...
โ 1๋ฒ ์ ์ ์์ ๊ฐ ์ ์ ์ผ๋ก ๊ฐ๋ ์ต์ ์ด๋ ๊ฐ์ ์๋ฅผ ๊ตฌํ์ธ์ ๐ BFS ํค์๋ ์ต์ ์ด๋ ๊ฐ์ ์ BFS๋ QUEUE๋ฅผ ์ฌ์ฉํ๋ค โ๏ธ graph โ๏ธ input 6 9 1 3 1 4 2 1 2 5 3 4 4 5 4 6 6 2 6 5 โ๏ธ output 2: 3 3: 1 4: 1 5: 2 6: 2 ๐ข ๋ ๋ฒจ ์์ด ํ๊ธฐ...
๐ ์ธ์ ๋ฆฌ์คํธ ํค์๋ ์ ์ (๋ ธ๋)์ด 10000๊ฐ, 100000๊ฐ ๋ฑ์ผ๋ก ์์ฒญ ๋ง์ ๋ ์ธ์ ํ๋ ฌ๋ก ํ๊ธฐ(10000 * 10000๊ฐ)์๋ ๋ ธ๋ ์๊ฐ ๋๋ฌด ๋ง์ ๋ ๋ ธ๋ ์๊ฐ ๋๋ฌด ๋ง์์ ธ๋ฒ๋ฆฌ๋ฉด ์ธ์ ํ๋ ฌ๋ก ํ๊ธฐ์๋ ์๊ฐ ๋ณต์ก๋โฌ๏ธ, ์ก์๋จน๋ ๋ฉ๋ชจ๋ฆฌโฌ๏ธ โ ์ธ์ ๋ฆฌ์คํธ๋ก 1๋ฒ ๋ ธ๋๋ถํฐ 5๋ฒ ๋ ธ๋๊น์ง ๊ฐ ์ ์๋ ๊ฒฝ์ฐ ๊ฐ์ง ์ ๊ตฌํ๊ธฐ โ๏ธ in...
โ ๋ฐฉํฅ ๊ทธ๋ํ๊ฐ ์ฃผ์ด์ง๋ฉด 1๋ฒ ์ ์ ์์ N๋ฒ ์ ์ ์ผ๋ก ๊ฐ๋ ๋ชจ๋ ๊ฒฝ์ฐ์ ๊ฐ์ง ์๋ฅผ ๊ตฌํ์ธ์ โ๏ธ 1๋ฒ ์ ์ ์์ 5๋ฒ ์ ์ ์ผ๋ก ๊ฐ๋ ๊ฐ์ง ์๋ ์ด 6๊ฐ์ง ์ ๋๋ค. 1 2 3 4 5 1 2 5 1 3 4 2 5 1 3 4 5 1 4 2 5 1 4 5 โ๏ธ input 5 9 //์ ์ ๋ ธ๋ ์, ๊ฐ์ ์ 1 2 //์ฌ๊ธฐ์๋ถํฐ ์ฐ๊ฒฐ ์ ๋ณด 1 3 1 ...
์ธ์ ํ๋ ฌ์ ๊ฐ์ง๊ณ ๊ทธ๋ํ๊ฐ ์ด๋ค ๋ชจ์์ธ์ง ํ์ ํ๋ค. โ ๋ฌด๋ฐฉํฅ ๊ทธ๋ํ โ๏ธ ๋ฌด๋ฐฉํฅ ๊ทธ๋ํ ๐ฐ ์๋ฐฉํฅ ๊ทธ๋ํ 1๋ฒ ๋ ธ๋์ 2๋ฒ ๋ ธ๋๊ฐ ์ฐ๊ฒฐ๋์ด ์๋ค. ์์ 1๋ฒ ๋์์ 2๋ฒ ๋์๊ฐ ๋๋ก๋ก ์ฐ๊ฒฐ๋์ด ์๋ค. ๊ทธ๋ฌ๋๊น 1๋ฒ ๋์, 2๋ฒ ๋์๋ฅผ ์๋ฐฉํฅ์ผ๋ก ์๋ค๊ฐ๋ค ํ ์ ์์. โ๏ธ input 5 5 //๊ฐ๊ฐ ๋ ธ๋ ๊ฐ์, ๊ฐ์ ...
โ BFS๋ก ๋ง๋จ ๋ ธ๋๊น์ง ์ต๋จ ๊ฑฐ๋ฆฌ ๊ตฌํ๊ธฐ โญ๏ธโญ๏ธโญ๏ธ BFS๋ก ๋ ธ๋๊น์ง ์ต๋จ ๊ฑฐ๋ฆฌ๋ฅผ ๊ตฌํ ๋๋ ์์ ๋ ธ๋๊ฐ 2๊ฐ์ผ ํ์๋ ์๋ค. class Node{ int data; Node lt; Node rt; public Node(int value){ data=value; lt=rt=null; ...
โ๏ธ Feedback ๊ธฐ๋ฅ๋ณ๋ก ์ด์๋ฅผ ๋ฐ์ ์ชผ๊ฐ๊ธฐ ๊ทธ๋์ ํ์ด์ง๋น ๊ธฐ๋ฅ๋ณ๋ก ๋ธ๋์น๋ฅผ ๋ฐ์ ๊ณ์ ๋จธ์งํ๋ฉด์ ์์ ๋จธ์งํ ๋๋ pr๋ฐ์์ ๊ผฌ์ด์ง ์๋๋ก ํ๊ธฐ git-flow mash-up-kr ๊ธฐ๋ฅ ์ด๊ฑธ ๊ฐ๋ฐํด์ ๋๋ฒจ๋กญ ๋ธ๋์น์ ๋จธ์งํ๋ค โ๏ธ GIT flow ๐ณ develop ๋ค์ ์ถ์ ๋ฒ์ ์ ๊ฐ๋ฐํ๋ ๋ธ๋์น ...
โ DFS๋ก ๋ง๋จ ๋ ธ๋๊น์ง ์ต๋จ ๊ฑฐ๋ฆฌ ๊ตฌํ๊ธฐ โญ๏ธโญ๏ธโญ๏ธ DFS๋ก ๋ ธ๋๊น์ง ์ต๋จ ๊ฑฐ๋ฆฌ๋ฅผ ๊ตฌํ ๋๋ ๋ฐ๋์ ์์ ๋ ธ๋๊ฐ 2๊ฐ ๋ค ์์ด์ผ ํ๋ค. class Node{ int data; Node lt; Node rt; public Node(int value){ data=value; lt=rt=n...
โ Mid Feedback Instead of using Random to make unique order number, why not use UUID? โ UUID Universally Unique Identifier 128-bit long number in hex characters separated by โ-โ example: ...
โ Mid-Feedback results 1๏ธโฃ What if there are 100 users buying the same item at the same time? 2๏ธโฃ What if there is 0 product left? 3๏ธโฃ What if the product is not sold anymore? 4๏ธโฃ What if the use...