๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Algorithm/LeetCode

[LeetCode] ๋ฆฟ์ฝ”๋“œ ์‹œ์ž‘ํ•˜๊ธฐ, Github์— ์ž๋™ ์ปค๋ฐ‹(LeetHub) ๋ฐฉ๋ฒ•

by yunamom 2022. 4. 16.
๋ฐ˜์‘ํ˜•

LeetCode : ์ „์„ธ๊ณ„์ ์œผ๋กœ ๊ฐ€์žฅ ์ž˜ ์•Œ๋ ค์ง„ Online Judge Platform

https://leetcode.com/

 

LeetCode - The World's Leading Online Programming Learning Platform

Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

leetcode.com

LeetCode๋Š” ์ „์„ธ๊ณ„์ ์œผ๋กœ ์œ ๋ช…ํ•œ Online Judge Platform ์ž…๋‹ˆ๋‹ค.

ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค์—์„œ๋„ ์ด๊ณณ ๋ฌธ์ œ๋ฅผ ๋ณ€ํ˜•ํ•ด์„œ ์ถœ์ œ๋˜๋Š” ๋ฌธ์ œ๊ฐ€ ๋งŽ์•˜์Šต๋‹ˆ๋‹ค.

๊ตฌ๊ธ€/๊นƒํ—ˆ๋ธŒ/ํŽ˜์ด์Šค๋ถ ๊ณ„์ •์œผ๋กœ ๊ฐ„ํŽธํ•˜๊ฒŒ ๊ฐ€์ž…ํ›„ ์‚ฌ์šฉ ํ•˜์‹ค์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค.

โœจLeetHub : Github ์— ์ž๋™์œผ๋กœ Commit & Push ๋ฅผ ํ•ด์ฃผ๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ

LeetHub

โ—‡ ์„ค์น˜ํ•˜๊ธฐ

1. LeetHub ์„ค์น˜์— ์•ž์„œ์„œ ๋ณธ์ธ Github ๊ณ„์ •์— LeetCode ์ „์šฉ ์ €์žฅ์†Œ๋ฅผ ๋งŒ๋“ค์–ด ์ค๋‹ˆ๋‹ค.

 

2. LeetHub ์„ค์น˜ ๋งํฌ : ํด๋ฆญ (Add to Chrome ์œผ๋กœ ์ถ”๊ฐ€ํ•ด์ค๋‹ˆ๋‹ค.)

 

3. ์„ค์น˜ํ›„์— Extention ๋ชฉ๋ก์— LeetHub ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ์ถ”๊ฐ€ ๋œ ๊ฒƒ์„ ํ™•์ธ ํ•  ์ˆ˜ ์ž‡์Šต๋‹ˆ๋‹ค. 

 

Authenticate ๋ฅผ ํด๋ฆญ!
๊นƒํ—ˆ๋ธŒ ๊ณ„์ •๊ณผ์˜ ์—ฐ๊ฒฐ์„ ์œ„ํ•ด Authorize ํ•ด ์ค๋‹ˆ๋‹ค.
์œ„์—์„œ ๋ฏธ๋ฆฌ ์ƒ์„ฑํ•ด๋‘์—ˆ๋˜ ๊นƒํ—ˆ๋ธŒ ์ €์žฅ์†Œ์™€ ์—ฐ๊ฒฐ ํ•ด์ค๋‹ˆ๋‹ค.
๐Ÿ˜Š์œ„์™€ ๊ฐ™์€ ํ™”๋ฉด์ด ๋‚˜์˜ค๋ฉด ๋ชจ๋“  ์ค€๋น„๊ฐ€ ์™„๋ฃŒ๋œ๊ฒƒ์ž…๋‹ˆ๋‹ค.

โ—‡ ์‚ฌ์šฉ๋ฐฉ๋ฒ•

ํฌ๋กฌ์—์„œ LeetHub ์ ‘์†ํ›„ ๋กœ๊ทธ์ธํ›„ Problems ๋ฅผ ํด๋ฆญํ•ด ์ฃผ์„ธ์š”.

( *LeetHub ํ”Œ๋Ÿฌ๊ทธ ์ธ์œผ๋กœ ์ž๋™ ์ปค๋ฐ‹&push๋ฅผ ์œ„ํ•ด์„œ ๊ผญ ํฌ๋กฌ์—์„œ ์ ‘์†ํ•ด์ฃผ์…”์•ผํ•ฉ๋‹ˆ๋‹ค.)

Difficulty ๋ฅผ ํด๋ฆญํ•˜๋ฉด ๋ฌธ์ œ ๋‚œ์ด๋„๋ฅผ ์„ ํƒํ•˜์‹ค์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฝ”๋“œ์ž‘์„ฑํ›„ Run Code ๋กœ ํ…Œ์ŠคํŠธ๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ›„ Submit ์„ ํด๋ฆญํ•ด์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.๐Ÿ˜Š(LeetHub ์—ฐ๋™์„ ์œ„ํ•ด ํฌ๋กฌ์—์„œ ์ž‘์—…ํ•ด์ฃผ์…”์•ผํ•ฉ๋‹ˆ๋‹ค.)

Submit ํด๋ฆญํ›„ ๋ณธ์ธ ๊นƒํ—ˆ๋ธŒ LeetCode ์ €์žฅ์†Œ์— ๋ฐ”๋กœ commit&push ๋œ๊ฒƒ์„ ํ™•์ธํ•˜์‹ค์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฌธ์ œ์™€ ์ฝ”๋“œ๋ฅผ ๋ชจ๋‘ ๋ฐฑ์—… ํ•ด์ฃผ๊ณ  ๋Ÿฐํƒ€์ž„๊ณผ ๋ฉ”๋ชจ๋ฆฌ ์‚ฌ์šฉ๋Ÿ‰์˜ ๋ฐฑ๋ถ„์œ„๊นŒ์ง€ ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€๋กœ ์ €์žฅ์ด ๋˜์„œ ์ •๋ง ๊ฐ„ํŽธํ•ฉ๋‹ˆ๋‹ค :)

์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ๊ฐ„๋‹จํ•˜๊ฒŒ LeetCode ์‚ฌ์šฉ๋ฒ•๊ณผ LeetHub ์— ๋Œ€ํ•ด์„œ ์•Œ์•„๋ณด์•˜์Šต๋‹ˆ๋‹ค ๐Ÿ˜Š

 

์•ž์œผ๋กœ ํ•ด์™ธ์ทจ์—…์„ ๋ชฉํ‘œ๋กœ ๋‘์‹ ๋‹ค๋ฉด LeetCode ์™ธ์— ํ•ด์ปค๋งํฌ hackerearth ์ด๊ณณ์€ ๋Œ€๊ธฐ์—… ์ฝ”ํ…Œ(๊ตฌ๊ธ€, ์•„๋งˆ์กด ๋“ฑ๋“ฑ) ๋„ ์ง„ํ–‰ํ•˜๋ฏ€๋กœ ๋ณ‘ํ–‰ํ•ด์„œ ๊ณต๋ถ€ํ•˜๋Š”๊ฒŒ ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค :)

300x250

์ฝ”๋“œ