๐๏ธ ๋น์ ์ด ์์์ผ ํ 20๊ฐ์ง ์ฝ๋ฉ ์๊ณ ๋ฆฌ์ฆ (1)
์ฝ๋ฉ ํ ์คํธ๋, ์ผ๋จ ํจํด์ ์ต์ํด์ง๋ฉด ๋ง์ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ ์ ์์ต๋๋ค. ์๊ณ ๋ฆฌ์ฆ๊ณผ ๋ ์นํ๊ฒ ์ง๋ผ์๋ก, ์ฝ๋ฉ ๋ฉด์ ์ ์ค๋นํ๋ ๊ณผ์ ์ด ํจ์ฌ ์ฆ๊ฑฐ์์ง ๊ฒ์ ๋๋ค. ์ด๋ฒ์๋ "20๊ฐ์ง ํ์ ์๊ณ ๋ฆฌ์ฆ์ ํตํด ์ฝ๋ฉ ์ธํฐ๋ทฐ ํ๋ก๊ฐ ๋๊ธฐ"๋ฅผ ๋ฒ์ญํ์์ต๋๋ค. ์ด ์๋ฆฌ์ฆ๋ 3ํธ๊น์ง ์ด์ด์ง๋๋ค. ๋น์ ์ด ์์์ผ ํ 20๊ฐ์ง ์ฝ๋ฉ ์๊ณ ๋ฆฌ์ฆ (2) - [https://careerly.co.kr/comments/76235] ๋น์ ์ด ์์์ผ ํ 20๊ฐ์ง ์ฝ๋ฉ ์๊ณ ๋ฆฌ์ฆ (3) - [https://careerly.co.kr/comments/76617] 1๏ธโฃ Sliding Window - ์ฌ์ฉ: ์ผ์ ํ ๋ฒ์๋ฅผ ์ ์งํ๋ฉด์ ์ด๋ํ ๋ - ์๋ฃ๊ตฌ์กฐ: Array, String, HashTable - ์์ ๋ฌธ์ : [https://leetcode.com/problems/fruit-into-baskets/] [https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/] 2๏ธโฃ Islands (Matrix Traversal) - ์ฌ์ฉ: matrix, ํน์ 2D array๋ฅผ ์ํํ๋ ํจ์จ์ ์ธ ๋ฐฉ๋ฒ์ ์ฐพ์ ๋ - ์๋ฃ๊ตฌ์กฐ: Matrix, Queue - ์์ ๋ฌธ์ : [https://leetcode.com/problems/number-of-islands/] [https://leetcode.com/problems/flood-fill/] 3๏ธโฃ Two Pointers - ์ฌ์ฉ: ๋ฐฐ์ด์์ ๊ฐ๊ฐ ๋ค๋ฅธ ์์๋ฅผ ๊ฐ๋ฆฌํค๋ 2๊ฐ์ ํฌ์ธํฐ๋ฅผ ์กฐ์ํ ๋ - ์๋ฃ๊ตฌ์กฐ: Array, String, LinkedList - ์์ ๋ฌธ์ : [https://leetcode.com/problems/squares-of-a-sorted-array/] 4๏ธโฃ Fast & Slow Pointers - ์ฌ์ฉ: ์ ๋ ฅ ๊ฐ์ ๋ค๋ฅธ ์๋๋ก ์ํํ๊ณ ์ถ์ ๋ - ์๋ฃ๊ตฌ์กฐ: Array, String, LinkedList - ์์ ๋ฌธ์ : [https://leetcode.com/problems/linked-list-cycle-ii/] 5๏ธโฃ Merge Intervals - ์ฌ์ฉ: ๊ฒน์น๋ ๊ฐ๊ฒฉ์ ์ฒ๋ฆฌํ ๋ - ์๋ฃ๊ตฌ์กฐ: Array, Heap - ์์ ๋ฌธ์ : [https://leetcode.com/problems/merge-intervals/] 6๏ธโฃ Cyclic Sort - ์ฌ์ฉ: ์ ๋ ฅ ๋ฐ์ดํฐ๊ฐ ๊ณ ์ ๋ ๋ฒ์ ๋ด์ ์์ ๋ - ์๋ฃ๊ตฌ์กฐ: Array - ์์ ๋ฌธ์ : [https://leetcode.com/problems/find-all-duplicates-in-an-array/] [https://leetcode.com/problems/kth-missing-positive-number/] 7๏ธโฃ In-place Reversal of a LinkedList - ์ฌ์ฉ: LinkedList๋ฅผ ํจ์จ์ ์ผ๋ก ๋ค์ง๊ณ ์ถ์ ๋ - ์๋ฃ๊ตฌ์กฐ: LinkedList - ์์ ๋ฌธ์ : [https://leetcode.com/problems/rotate-list/] ๐ฃ ์๊ธ์ ์ฌ์ง๊ณผ ํจ๊ป ์ค๋ช ์ด ๋ ์์ธํ๊ฒ ๋์์์ต๋๋ค.