μκ³ λ¦¬μ¦ λ¬Έμ λ₯Ό νκ³ νμ΄λ₯Ό μ¬λ¦¬λ repository μ λλ€.
β¨ = μ€μ€λ‘ μ νμλ€κ³ μκ°
π€ = μ΄λ €μ μ
β = μ£Όμ κΌΌκΌΌν μμ±ν¨ (μ°Έκ³ νκΈ° μ’λ€)
π = λ΅μ§ μ°Έκ³
No. | Name | Group | Memo | Solution |
---|---|---|---|---|
1000 | A+B | π | ||
1001 | A-B | π | ||
1008 | A/B | μμμ μλ μ«μ κ³ μ | π | |
1107 | 리λͺ¨μ»¨ | λΈλ£¨νΈν¬μ€ λ²μ μ€μ΄λ €κ³ λ Έλ ₯ν¨. μμΈκ° λ무 λ§μμ νλ€μμ | π | |
1149 | RGB거리⨠| DP | π | |
1158 | μμΈνΈμ€ λ¬Έμ | Queue | π | |
1167 | νΈλ¦¬μ μ§λ¦ | DFS | 1967λ²κ³Ό λΉμ·ν λ¬Έμ , DFS νμμ 2λ² μ΄μ©νμ¬ νμ | π |
1212 | 8μ§μ 2μ§μ | π | ||
1248 | λ§μΆ°λ΄ | π | ||
1260 | DFSμ BFS | BFS, DFS | π | |
1261 | μκ³ μ€ν | BFS | π | |
1309 | λλ¬Όμβ¨ | DP | π | |
1373 | 2μ§μ 8μ§μ | π | ||
1406 | μλν° | Stack | π | |
1463 | 1λ‘ λ§λ€κΈ° | DP | πTop-downλ°©μ, πBottom-up λ°©μ | |
1476 | λ μ§ κ³μ° | π | ||
1676 | ν©ν λ¦¬μΌ 0μ κ°μβ¨ | ν©ν 리μΌμμμ 0μ κ°μ ꡬνκΈ°, 5μ κ°μλ‘ μΈμ΄λ³΄λ©΄ λ¨ | π | |
1697 | μ¨λ°κΌμ§ | BFS | π | |
1699 | μ κ³±μμ ν© | DP | π | |
1707 | μ΄λΆ κ·Έλν | BFS | μ€μ€λ‘ νλ μΌμ΄μ€λ μ μκ°ν΄λ³΄κ³ κΌΌκΌΌν μ½λλ₯Ό μμ±ν΄μ λμΉλ μΌμ΄μ€λ μμλλ° λ§μ§λ§μ μΆλ ₯νλ λΆλΆμμ "\n" μν΄μ€μ μ¬λ¬ λ² νλ Έλ.. μ§μ§ λ무 μμ¬μ΄ λ¬Έμ ... | π |
1748 | μ μ΄μ΄ μ°κΈ° 1 | λΈλ£¨νΈν¬μ€ | π | |
1759 | μνΈ λ§λ€κΈ° | π | ||
1788 | νΌλ³΄λμΉ μμ νμ₯ | DP | π | |
1874 | μ€ν μμ΄ | Stack | π | |
1912 | μ°μν© | DP | π | |
1918 | νμ νκΈ°μ | μ°¨λκΈ°μ§ μκ³ λ¦¬μ¦(μ€μ νκΈ°λ²μ νμ νκΈ°λ²μΌλ‘ λ³ν) | π | |
1929 | μμ ꡬνκΈ° | λ²μ λ΄μ λͺ¨λ μμ ꡬνκΈ°, μλΌν μ€ν λ€μ€μ 체 | π | |
1932 | μ μ μΌκ°νβ¨ | DP | π | |
1934 | μ΅μ곡배μ | gcd | π | |
1935 | νμ νκΈ°μ2 | π | ||
1967 | νΈλ¦¬μ μ§λ¦ | 1167λ²κ³Ό λΉμ·ν λ¬Έμ , ν¬μ€νΈμ€λλ₯Ό μ΄μ©νμ¬ νμμ | π | |
1978 | μμ μ°ΎκΈ° | μ΄λ€ μκ° μμμΈμ§ νλ¨ | π | |
1991 | νΈλ¦¬ μν | νΈλ¦¬ | π | |
2004 | μ‘°ν© 0μ κ°μβ¨ | μ‘°ν©μμ 0μ κ°μ ꡬνκΈ°, ν©ν 리μΌκ³Ό λΉμ·, μ΄λ²μ 5μ 2 κ°μ΄ μΈκΈ° | π | |
2089 | -2μ§μ | μ§μ λ³ν (μν) | π | |
2133 | νμΌ μ±μ°κΈ° | DP | π | |
2146 | λ€λ¦¬ λ§λ€κΈ°β¨ | BFS | π | |
2156 | ν¬λμ£Ό μμ | DP | π | |
2178 | λ―Έλ‘ νμ | BFS | π | |
2193 | μ΄μΉμ | DP | π | |
2225 | ν©λΆν΄ | DP | π | |
2250 | νΈλ¦¬μ λμ΄μ λλΉβ¨ | νΈλ¦¬, Queueμ΄μ©ν BFS νμμΌλ‘ μ΅λ λλΉ νμν΄μ€, 50λ²μ§Έ μ€μμ λ³μλ₯Ό μλͺ» μ¨μ μ¬λ¬ λ² νλ¦° μμ¬μ΄ λ¬Έμ γ γ | π | |
2309 | μΌκ³± λμμ΄ | π | ||
2468 | μμ μμ | BFS | π | |
2529 | λΆλ±νΈ | π | ||
2557 | Hello World | π | ||
2558 | A+B - 2 | π | ||
2579 | κ³λ¨ μ€λ₯΄κΈ° | DP | π | |
2606 | λ°μ΄λ¬μ€ | BFS | π | |
2609 | μ΅λ곡μ½μμ μ΅μ곡배μ | gcd, lcm | π | |
2644 | μ΄μκ³μ° | BFS | π | |
2667 | λ¨μ§λ²νΈλΆμ΄κΈ° | BFS | π | |
2743 | λ¨μ΄ κΈΈμ΄ μ¬κΈ° | π | ||
2745 | μ§λ² λ³ν | π | ||
3085 | μ¬ν κ²μ | π | ||
4963 | μ¬μ κ°μ | BFS | π | |
5014 | μ€ννΈλ§ν¬ | BFS | π | |
6064 | μΉ΄μ λ¬λ ₯ | λΈλ£¨νΈν¬μ€ | π | |
6588 | 골λλ°νμ μΆμΈ‘ | λ²μ λ΄μ λͺ¨λ μμ ꡬνκΈ°, μλΌν μ€ν λ€μ€μ 체 | π | |
6603 | λ‘λ | π | ||
7287 | λ±λ‘ | π | ||
7562 | λμ΄νΈμ μ΄λ | BFS | π | |
7569 | ν λ§ν | BFS | μκ° μ’ μ€λ κ±Έλ Έμ | π, πμ’ λ λΉ λ₯Έ λ°©λ² |
7576 | ν λ§ν | BFS | π | |
9012 | κ΄νΈ | Stack | π, πμ€ν μ΄μ© νμ΄ | |
9093 | λ¨μ΄ λ€μ§κΈ° | Stack | π | |
9095 | 1, 2, 3 λνκΈ° | DP | π, πμ¬κ·ν¨μλ₯Ό μ΄μ©ν λΈλ£¨νΈν¬μ€ νμ΄ | |
9205 | λ§₯μ£Ό λ§μλ©΄μ κ±Έμ΄κ°κΈ° | νλ‘μ΄λ μμ¬ | π | |
9465 | μ€ν°μ»€ | DP | π | |
9613 | GCD ν© | gcd | π | |
10430 | λλ¨Έμ§ | π | ||
10718 | We love kriii | π | ||
10799 | μ λ§λκΈ° | Stack | π | |
10808 | μνλ²³ κ°μ | μμ€ν€μ½λ, string | π | |
10809 | μνλ²³ μ°ΎκΈ° | μμ€ν€μ½λ, string | π | |
10819 | μ°¨μ΄λ₯Ό μ΅λλ‘ | π | ||
10820 | λ¬Έμμ΄ λΆμ | π | ||
10824 | λ€ μ | πμ리μ μ΄μ© νμ΄, πλ¬Έμμ΄ κ΄λ ¨ ν¨μ μ¬μ© | ||
10828 | μ€ν(ꡬν) | Stack | π, πλΌμ΄λΈλ¬λ¦¬ μ¬μ© | |
10844 | μ¬μ΄ κ³λ¨ μ | DP | π | |
10845 | ν(ꡬν) | Queue | π, πλΌμ΄λΈλ¬λ¦¬ μ¬μ© | |
10866 | λ± | Stack, Queue | π | |
10869 | μ¬μΉμ°μ° | π | ||
10872 | ν©ν λ¦¬μΌ | π | ||
10950 | A+B - 3 | π | ||
10951 | A+B - 4 | π | ||
10952 | A+B - 5 | π | ||
10971 | μΈνμ μν 2 | π | ||
10972 | λ€μ μμ΄ | πβ, πβnext_permutation μ§μ ꡬνν΄λ³Έ μ½λ | ||
10973 | μ΄μ μμ΄ | πβ, πβprev_permutation μ§μ ꡬνν΄λ³Έ μ½λ | ||
10974 | λͺ¨λ μμ΄ | π | ||
10998 | AxB | π | ||
11005 | μ§λ² λ³ν 2 | π | ||
11021 | A+B - 7 | π | ||
11022 | A+B - 8 | π | ||
11052 | μΉ΄λ ꡬ맀νκΈ° | DP | π | |
11053 | κ°μ₯ κΈ΄ μ¦κ°νλ λΆλΆ μμ΄β¨ | DP | π | |
11054 | κ°μ₯ κΈ΄ λ°μ΄ν λ λΆλΆ μμ΄ | DP | π | |
11055 | κ°μ₯ ν° μ¦κ° λΆλΆ μμ΄ | DP | π | |
11057 | μ€λ₯΄λ§ μ | DP | π | |
11576 | Base Conversion | π | ||
11653 | μμΈμλΆν΄ | π | ||
11655 | ROT13 | π | ||
11656 | μ λ―Έμ¬ λ°°μ΄ | μ λ ¬ | π | |
11722 | κ°μ₯ κΈ΄ κ°μνλ λΆλΆ μμ΄ | DP | π | |
11724 | μ°κ²° μμμ κ°μ | DFS | π | |
11725 | νΈλ¦¬μ λΆλͺ¨ μ°ΎκΈ° | BFS, DFS | π, πDFSλ°©λ² | |
11726 | 2Γn νμΌλ§ | DP | π | |
11727 | 2Γn νμΌλ§ 2 | DP | π | |
11729 | νλ Έμ΄ ν μ΄λ μμ | μ¬κ· | π | |
13023 | ABCDE | π | ||
13398 | μ°μν© 2 | DP | π | |
13549 | μ¨λ°κΌμ§ 3 | BFS | π | |
13913 | μ¨λ°κΌμ§ 4 | BFS, λ°±νΈλνΉ | π | |
14002 | κ°μ₯ κΈ΄ μ¦κ°νλ λΆλΆ μμ΄ 4β¨ | DP | π | |
14226 | μ΄λͺ¨ν°μ½ | BFS | π | |
14500 | ν νΈλ‘λ―Έλ Έ | π | ||
14501 | ν΄μ¬ | DP | πDP νμ΄, πμ¬κ· νμ΄ | |
14503 | λ‘λ΄ μ²μκΈ°π€ | DFS | π | |
14889 | μ€ννΈμ λ§ν¬ | π | ||
15353 | ν° μ A+B (2) | π | ||
15649 | Nκ³Ό M (1) | π | ||
15650 | Nκ³Ό M (2) | π | ||
15651 | Nκ³Ό M (3) | π | ||
15652 | Nκ³Ό M (4) | π | ||
15654 | Nκ³Ό M (5) | π | ||
15655 | Nκ³Ό M (6) | π | ||
15656 | Nκ³Ό M (7) | π | ||
15657 | Nκ³Ό M (8) | π | ||
15661 | λ§ν¬μ μ€ννΈ | π | ||
15663 | Nκ³Ό M (9) | μ€λ³΅ μ κ±° λ°©μμ μ‘°κΈ λ€λ₯΄κ² ν΄ λ΄€μ | π | |
15664 | Nκ³Ό M (10) | π | ||
15665 | Nκ³Ό M (11) | π | ||
15666 | Nκ³Ό M (12) | π | ||
15988 | 1, 2, 3 λνκΈ° 3 | DP | π | |
15990 | 1, 2, 3 λνκΈ° 5 | DP | π | |
16194 | μΉ΄λ ꡬ맀νκΈ° 2 | DP | π | |
16918 | λ΄λ²λ§¨ | π | ||
16929 | Two Dots | DFS | π | |
16940 | BFS μ€νμ μ μ§ | BFS | π | |
16947 | μμΈ μ§νμ² 2νΈμ | DFS, BFS | π | |
16964 | DFS μ€νμ μ μ§ | DFS | π | |
17087 | μ¨λ°κΌμ§ 6 | gcd (μ΅λ곡μ½μ) | π | |
17103 | 골λλ°ν νν°μ | λ²μ λ΄μ λͺ¨λ μμ ꡬνκΈ°, μλΌν μ€ν λ€μ€μ 체 | π | |
17298 | μ€ν°μ | Stack | π | |
17299 | μ€λ±ν°μ | Stack | π | |
17404 | RGB거리 2 | DP | π | |
17413 | λ¨μ΄ λ€μ§κΈ° 2 | Stack | π |
No. | Name | Group | Memo | Solution |
---|---|---|---|---|
1 | Two Sum | π | ||
5 | Longest Palindromic Substring | DP | ππβ | |
20 | Valid Parentheses | π | ||
42 | Trapping Rain Water | Two Pointers | ππβ | |
45 | Jump Game II | DP | π | |
53 | Maximum Subarray | DP | later, try this problem with divide and conquer | π |
55 | Jump Game | DP | π, ππ | |
62 | Unique Paths | DP | π | |
63 | Unique Paths II | DP | π | |
64 | Minimum Path Sum | DP | π | |
70 | Climbing Stairs | π | ||
91 | Decode Waysβ¨ | DP | λ¬Έμ λ₯Ό μ½μΌλ©΄μ λ°λ‘λ₯Ό κΌΌκΌΌν μκ°ν΄μ κ° μΌμ΄μ€λ₯Ό ꡬλΆν΄ κ°λ©΄μ νμλλ ν λ²λ§μ λ§μλ€γ γ | π |
96 | Unique Binary Search Trees | DP | π | |
104 | Maximum Depth of Binary Tree | recursion, tree | π | |
118 | Pascal's Triangle | DP | π | |
119 | Pascal's Triangle II | DP | π | |
120 | Triangle | DP | 931λ² λ¬Έμ μ λΉμ· | π |
121 | Best Time to Buy and Sell Stock | DP | DPμ μ΄λ κ² ν μ μλ λ¬Έμ λ§μλ― (μ°Έκ³ : 121, 1014) | π, πbetter runtime |
122 | Best Time to Buy and Sell Stock II | DP | π | |
136 | Single Number | bit manipulation | π | |
139 | Word Breakπ€ | DP | ππβ | |
145 | Binary Tree Postorder Traversal | π | ||
152 | Maximum Product Subarrayβ¨ | DP | π | |
162 | Find Peak Element | π | ||
198 | House Robberπ€ | DP | wrong several times | π |
206 | Reverse Linked List | recursion, linked list | π , πwith recursion | |
213 | House Robber II | DP | π | |
221 | Maximal Square | DP | ππ | |
237 | Delete Node in a Linked List | π | ||
264 | Ugly Number II | DP | π | |
283 | Move Zeroes | π | ||
300 | Longest Increasing Subsequence | DP | π | |
304 | Range Sum Query 2D - Immutable | DP | 1314λ² λ¬Έμ μ λΉμ·ν¨ | π |
309 | Best Time to Buy and Sell Stock with Cooldown | DP | ππβ | |
338 | Counting Bits | DP | π | |
344 | Reverse String | π | ||
376 | Wiggle Subsequence | DP | π | |
392 | Is Subsequence | π | ||
412 | Fizz Buzz | π | ||
413 | Arithmetic Slices | DP | π | |
509 | Fibonacci Number | DP | π | |
516 | Longest Palindromic Subsequence | DP | π | |
611 | Valid Triangle Number | π | ||
709 | To Lower Case | string | π | |
714 | Best Time to Buy and Sell Stock with Transaction Fee | DP | 309λ²κ³Ό λΉμ·νκ² νμ | π |
740 | Delete and Earn | DP | π | |
746 | Min Cost Climbing Stairs | DP | π, π0ms Runtime Solution | |
804 | Unique Morse Code Words | string | π | |
844 | Backspace String Compare | stack | π | |
894 | All Possible Full Binary Trees | μ΄λ €μ μ | π | |
918 | Maximum Sum Circular Subarrayπ€ | DP | ππβ | |
921 | Minimum Add to Make Parentheses Valid | stack | π | |
931 | Minimum Falling Path Sum | DP | 120λ² λ¬Έμ μ λΉμ·ν¨ | π |
1004 | Max Consecutive Ones III | Sliding Window | π | |
1014 | Best Sightseeing Pair | DP | DPμ μ΄λ κ² ν μ μλ λ¬Έμ λ§μλ― (μ°Έκ³ : 121, 1014) | ππ |
1021 | Remove Outermost Parentheses | stack | π | |
1043 | Partition Array for Maximum Sumπ€ | DP | π | |
1047 | Remove All Adjacent Duplicates In String | stack | π | |
1108 | Defanging an IP Address | π | ||
1137 | N-th Tribonacci Number | DP | π | |
1221 | Split a String in Balanced Strings | string | π | |
1249 | Minimum Remove to Make Valid Parentheses | stack | π | |
1277 | Count Square Submatrices with All Ones | DP | π | |
1304 | Find N Unique Integers Sum up to Zero | π, πbest solution | ||
1314 | Matrix Block Sum | DP | π | |
1470 | Shuffle the Array | π | ||
1480 | Running Sum of 1d Array | π | ||
1512 | Number of Good Pairs | π | ||
1528 | Shuffle String | string | π | |
1567 | Maximum Length of Subarray With Positive Product | DP | π | |
1598 | Crawler Log Folder | π | ||
1662 | Check If Two String Arrays are Equivalent | string | π | |
1641 | Count Sorted Vowel Strings | DP | π | |
1678 | Goal Parser Interpretation | string | π | |
1684 | Count the Number of Consistent Strings | string | π | |
1704 | Determine if String Halves Are Alike | string | π | |
1773 | Count Items Matching a Rule | string | π | |
1816 | Truncate Sentence | string | π | |
1832 | Check if the Sentence Is Pangram | string | π | |
1844 | Replace All Digits with Characters | string | π | |
1859 | Sorting the Sentence | string | π | |
2000 | Reverse Prefix of Word | string | π |