Title
#algorithms
u

๊ถŒ๊ฒฝํ™˜

08/31/2022, 11:42 PM
์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ณธ ์ง€ ์˜ค๋žœ๋ฐ, ๋•๋ถ„์— ์˜ค๋žซ๋งŒ์— ์‚ดํŽด๋ดค์Šต๋‹ˆ๋‹ค. ๊ทผ๋ฐ ์œ„ ๋ฌธ์ œ์— deep copy ๊ฐ€ ํ•„์š”ํ•œ๊ฐ€์š”?
Kye-Hyun Park

Kye-Hyun Park

08/31/2022, 11:59 PM
๋„ค. ์ด ๋ฌธ์ œ์˜ ์†”๋ฃจ์…˜์„ ๊ฒ€์ƒ‰ํ•ด๋ณด๋‹ค๊ฐ€ ์œ„ ๊ธฐ์‚ฌ์˜ <problem 3> ๋‹จ๋ฝ์— ์†Œ๊ฐœ๋˜์–ด ์žˆ๋”๋ผ๊ณ ์š”. ์˜ค๋Š˜์€ ์šฐ์—ฐํžˆ ๋ฌธ์ œ๋ฅผ ์—ด์–ด๋ดค๋Š”๋ฐ, ์ž์ฃผ ๋ด์•ผ๊ฒ ์–ด์š”. ๐Ÿ‘
u

๊ถŒ๊ฒฝํ™˜

09/01/2022, 12:32 AM
์•„, ๋ฌธ์ œ๋ฅผ ๊ทธ๋ƒฅ ํด๋ฆญํ–ˆ๋”๋‹ˆ ๋งค๋ฒˆ ๋žœ๋ค ๋ฌธ์ œ๊ฐ€ ๋‚˜์˜ค๋„ค์š”;; ๋‹ค๋ฅธ ๋ฌธ์ œ๋ฅผ ๋ณด๊ณ  ์žˆ์—ˆ๋„ค์š”.
12:34 AM
์ œ๊ฐ€ ๋ณธ ๋ฌธ์ œ๋Š” ์ด๊ฑด๋ฐ https://leetcode.com/problems/longest-increasing-path-in-a-matrix/ ์ด๊ฒƒ๋„ random pointer ๋กœ ํ’€ ์ˆ˜ ์žˆ๊ฒ ๋„ค์š”.
Kye-Hyun Park

Kye-Hyun Park

09/01/2022, 12:41 AM
์ œ๊ฐ€ ์—ด์—ˆ๋˜ ๋ฌธ์ œ๋Š” ์ด ๋ฌธ์ œ์˜€์–ด์š”. https://leetcode.com/problems/copy-list-with-random-pointer/description/ ์•„-, ํด๋ฆญํ• ๋•Œ๋งˆ๋‹ค ๋žœ๋ค ๋ฌธ์ œ์˜€๊ตฐ์š”. ๐Ÿ˜…
u

๊ถŒ๊ฒฝํ™˜

09/01/2022, 12:54 AM
์„œ๋กœ ๋‹ค๋ฅธ ๋ฌธ์ œ๋ฅผ ๋ณด๊ณ  ์žˆ์—ˆ๊ตฐ์š”ใ…‹ ์‹œ๊ฐ„๋‚  ๋•Œ ์ˆ˜์ •ํ•ด๋‘˜๊ฒŒ์š”.