diff --git "a/_posts/coding-interview-univ/2.-Data-Structures/2023-10-08-\354\235\264\352\260\200\354\235\200-2.-Data-Structures.md" "b/_posts/coding-interview-univ/2.-Data-Structures/2023-10-08-\354\235\264\352\260\200\354\235\200-2.-Data-Structures.md" index 1deabc9..23a4f53 100644 --- "a/_posts/coding-interview-univ/2.-Data-Structures/2023-10-08-\354\235\264\352\260\200\354\235\200-2.-Data-Structures.md" +++ "b/_posts/coding-interview-univ/2.-Data-Structures/2023-10-08-\354\235\264\352\260\200\354\235\200-2.-Data-Structures.md" @@ -295,7 +295,7 @@ class Node { **๐Ÿ’– (๋‹จ๋ฐฉํ–ฅ) ์—ฐ๊ฒฐ ๋ฆฌ์ŠคํŠธ ์‚ญ์ œ** -1) ๋…ธ๋“œ n ์ด ์ฃผ์–ด์ง€๋ฉด, ์ด์ „ ๋…ธ๋“œ prev ๋ฅผ ์ฐพ์•„ [prev.next](http://prev.next) ์™€ [n.next](http://n.next) ๊ฐ€ ๊ฐ™๋„๋ก ์„ค์ •ํ•œ๋‹ค +1) ๋…ธ๋“œ n ์ด ์ฃผ์–ด์ง€๋ฉด, ์ด์ „ ๋…ธ๋“œ prev ๋ฅผ ์ฐพ์•„ prev.next ์™€ n.next ๊ฐ€ ๊ฐ™๋„๋ก ์„ค์ •ํ•œ๋‹ค - ์–‘๋ฐฉํ–ฅ ์—ฐ๊ฒฐ ๋ฆฌ์ŠคํŠธ์ผ ๊ฒฝ์šฐ, n.next๊ฐ€ ๊ฐ€๋ฆฌํ‚ค๋Š” ๋…ธ๋“œ๋ฅผ ๊ฐฑ์‹ ํ•˜์—ฌ n.next.prev ๊ฐ€ n.prev ๊ฐ€ ๊ฐ™๋„๋ก ์„ค์ • @@ -793,4 +793,4 @@ public class SamplesHashtable } } -``` \ No newline at end of file +```