Skip to content

neetcode 150

Jeongmin edited this page Sep 25, 2024 · 6 revisions



week 1 ~ 4

1주

문제이름 문제링크
Contains Duplicate https://leetcode.com/problems/contains-duplicate
Missing number https://leetcode.com/problems/missing-number
Best Time to buy and sell stock https://leetcode.com/problems/best-time-to-buy-and-sell-stock
Meeting Rooms (pro) https://leetcode.com/problems/meeting-rooms https://neetcode.io/problems/meeting-schedule
3Sum https://leetcode.com/problems/3sum

2주

문제이름 문제링크
Valid Anagram https://leetcode.com/problems/valid-anagram
Product of Arrays Except Self https://leetcode.com/problems/product-of-array-except-self
Number of 1 Bits https://leetcode.com/problems/number-of-1-bits
Same Tree https://leetcode.com/problems/same-tree
Min Cost Climbing Stairs https://leetcode.com/problems/min-cost-climbing-stairs

3주

문제이름 문제링크
Group Anagrams https://leetcode.com/problems/group-anagrams
Reverse Bits https://leetcode.com/problems/reverse-bits
Valid Palindrome https://leetcode.com/problems/valid-palindrome
Coin Change https://leetcode.com/problems/coin-change
Reverse Linked list https://leetcode.com/problems/reverse-linked-list

4주

문제이름 문제링크
Two Sum https://leetcode.com/problems/two-sum
Maximum Depth of Binary Tree https://leetcode.com/problems/maximum-depth-of-binary-tree
Linked List Cycle https://leetcode.com/problems/linked-list-cycle
Happy Number https://leetcode.com/problems/happy-number
Valid Parentheses https://leetcode.com/problems/valid-parentheses

week 5 ~ 8

5주

문제이름 문제링크
Counting Bits https://leetcode.com/problems/counting-bits
Climbing Stairs https://leetcode.com/problems/climbing-stairs
Merge two Sorted Lists https://leetcode.com/problems/merge-two-sorted-lists
Rotate Image https://leetcode.com/problems/rotate-image
Last Stone Weight https://leetcode.com/problems/last-stone-weight

6주

문제이름 문제링크
Encode and Decode Strings(271) https://leetcode.com/problems/encode-and-decode-strings https://neetcode.io/problems/string-encode-and-decode
House Robber https://leetcode.com/problems/house-robber
Plus One https://leetcode.com/problems/plus-one
Kth Largest Element in a Stream https://leetcode.com/problems/kth-largest-element-in-a-stream
Binary Search https://leetcode.com/problems/binary-search

7주

문제이름 문제링크
Single Number https://leetcode.com/problems/single-number
Balanced Binary Tree https://leetcode.com/problems/balanced-binary-tree
Spiral Matrix https://leetcode.com/problems/spiral-matrix
K Closest points to Origin https://leetcode.com/problems/k-closest-points-to-origin
Min Stack https://leetcode.com/problems/min-stack

8주

문제이름 문제링크
Longest consecutive sequence https://leetcode.com/problems/longest-consecutive-sequence
Sum of two Integers https://leetcode.com/problems/sum-of-two-integers
Implement Trie Prefix Tree https://leetcode.com/problems/implement-trie-prefix-tree
Invert Binary Tree https://leetcode.com/problems/invert-binary-tree
Diameter of Binary Tree https://leetcode.com/problems/diameter-of-binary-tree

week 9 ~ 12

9주

문제이름 문제링크
Binary Tree Level Order Traversal https://leetcode.com/problems/binary-tree-level-order-traversal
Subtree Of Another Tree https://leetcode.com/problems/subtree-of-another-tree
House Robber II https://leetcode.com/problems/house-robber-ii
Course Schedule https://leetcode.com/problems/course-schedule
Evaluate Reverse Polish Notation https://leetcode.com/problems/evaluate-reverse-polish-notation

10주

문제이름 문제링크
Merge Intervals https://leetcode.com/problems/merge-intervals
Min Cost to Connect all points https://leetcode.com/problems/min-cost-to-connect-all-points
Lowest Common ancestor of a Binary Search Tree https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
Word Break https://leetcode.com/problems/word-break
Kth largest element in an Array https://leetcode.com/problems/kth-largest-element-in-an-array

11주

문제이름 문제링크
Reverse integer https://leetcode.com/problems/reverse-integer
Network Delay Time https://leetcode.com/problems/network-delay-time
Combination Sum https://leetcode.com/problems/combination-sum
Detect Squares https://leetcode.com/problems/detect-squares
Insert Interval https://leetcode.com/problems/insert-interval

12주

문제이름 문제링크
Two Sum II Input Array Is Sorted https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
Clone Graph https://leetcode.com/problems/clone-graph
Reorder List https://leetcode.com/problems/reorder-list
Task Scheduler https://leetcode.com/problems/task-scheduler
Generate Parentheses https://leetcode.com/problems/generate-parentheses

week 13 ~ 16

13주

문제이름 문제링크
Cheapest Flights Within K Stops https://leetcode.com/problems/cheapest-flights-within-k-stops
Binary Tree Right side View https://leetcode.com/problems/binary-tree-right-side-view
Number of Islands https://leetcode.com/problems/number-of-islands
Word Search https://leetcode.com/problems/word-search
Daily Temperatures https://leetcode.com/problems/daily-temperatures

14주

문제이름 문제링크
Meeting Rooms II https://leetcode.com/problems/meeting-rooms-ii (https://neetcode.io/problems/meeting-schedule-ii)
Rotting Oranges https://leetcode.com/problems/rotting-oranges
Copy List With Random Pointer https://leetcode.com/problems/copy-list-with-random-pointer
Pow(x, n ) https://leetcode.com/problems/powx-n
Jump Game https://leetcode.com/problems/jump-game

15주

문제이름 문제링크
Valid Sudoku https://leetcode.com/problems/valid-sudoku
Maximum Product Subarray https://leetcode.com/problems/maximum-product-subarray
Max area of Island https://leetcode.com/problems/max-area-of-island
Palindrome partitioning https://leetcode.com/problems/palindrome-partitioning
Gas Station https://leetcode.com/problems/gas-station

16주

문제이름 문제링크
Longest Repeating Character Replacement https://leetcode.com/problems/longest-repeating-character-replacement
Implement Trie Prefix Tree https://leetcode.com/problems/implement-trie-prefix-tree
Add Two Numbers https://leetcode.com/problems/add-two-numbers
Valid Parenthesis String https://leetcode.com/problems/valid-parenthesis-string
Search in Rotated Sorted Array https://leetcode.com/problems/search-in-rotated-sorted-array

week 17 ~ 20

17주

문제이름 문제링크
Longest Substring without Repeating Characters https://leetcode.com/problems/longest-substring-without-repeating-characters
Longest Increasing Subsequence https://leetcode.com/problems/longest-increasing-subsequence
Permutations https://leetcode.com/problems/permutations
Multiply Strings https://leetcode.com/problems/multiply-strings
Largest Rectangle in Histogram https://leetcode.com/problems/largest-rectangle-in-histogram

18주

문제이름 문제링크
Top K Frequent Elements https://leetcode.com/problems/top-k-frequent-elements
Redundant Connection https://leetcode.com/problems/redundant-connection
Subsets https://leetcode.com/problems/subsets
Find the Duplicate Number https://leetcode.com/problems/find-the-duplicate-number
Partition Labels https://leetcode.com/problems/partition-labels

19주

문제이름 문제링크
Kth Smallest Element in a Bst https://leetcode.com/problems/kth-smallest-element-in-a-bst
Partition Equal Subset Sum https://leetcode.com/problems/partition-equal-subset-sum
Letter combinations of a phone number https://leetcode.com/problems/letter-combinations-of-a-phone-number
Car Fleet https://leetcode.com/problems/car-fleet
Search a 2D Matrix https://leetcode.com/problems/search-a-2d-matrix

20주

문제이름 문제링크
Container with most Water https://leetcode.com/problems/container-with-most-water
Validate Binary Search Tree https://leetcode.com/problems/validate-binary-search-tree
Decode Ways https://leetcode.com/problems/decode-ways
Remove Nth Node from End of List https://leetcode.com/problems/remove-nth-node-from-end-of-list
Find Minimum in Rotated Sorted Array https://leetcode.com/problems/find-minimum-in-rotated-sorted-array

week 21 ~ 24

21주

문제이름 문제링크
Permutation In String https://leetcode.com/problems/permutation-in-string
N Queens https://leetcode.com/problems/n-queens
LRU Cache https://leetcode.com/problems/lru-cache
Jump Game II https://leetcode.com/problems/jump-game-ii
Median of two Sorted Arrays https://leetcode.com/problems/median-of-two-sorted-arrays

22주

문제이름 문제링크
Sliding Window Maximum https://leetcode.com/problems/sliding-window-maximum
Count Good Nodes in Binary Tree https://leetcode.com/problems/count-good-nodes-in-binary-tree
Pacific Atlantic water Flow https://leetcode.com/problems/pacific-atlantic-water-flow
Subsets II https://leetcode.com/problems/subsets-ii
Longest Common Subsequence https://leetcode.com/problems/longest-common-subsequence

23주

문제이름 문제링크
Swim in Rising Water https://leetcode.com/problems/swim-in-rising-water
Construct Binary Tree FromPreorder and inorder Traversal https://leetcode.com/problems/construct-binary-tree-frompreorder-and-inorder-traversal
Graph Valid Tree https://leetcode.com/problems/graph-valid-tree https://neetcode.io/problems/valid-tree
Set Matrix Zeroes https://leetcode.com/problems/set-matrix-zeroes
Design Twitter https://leetcode.com/problems/design-twitter

week 24 ~

24주

문제이름 문제링크
Serialize and Deserialize Binary Tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree
Palindromic Substrings https://leetcode.com/problems/palindromic-substrings
Course Schedule II https://leetcode.com/problems/course-schedule-ii
Maximum Subarray https://leetcode.com/problems/maximum-subarray
Coin Change II https://leetcode.com/problems/coin-change-ii

25주

문제이름 문제링크
Combination sum II https://leetcode.com/problems/combination-sum-ii
Hand of Straights https://leetcode.com/problems/hand-of-straights
Best Time to buy and sell stock with cooldown https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
Target Sum https://leetcode.com/problems/target-sum
Edit Distance https://leetcode.com/problems/edit-distance

26주

문제이름 문제링크
Non Overlapping Intervals https://leetcode.com/problems/non-overlapping-intervals
Alien Dictionary https://leetcode.com/problems/alien-dictionary https://neetcode.io/problems/foreign-dictionary
Longest Palindromic Substring https://leetcode.com/problems/longest-palindromic-substring
Walls and Gates https://leetcode.com/problems/walls-and-gates https://neetcode.io/problems/islands-and-treasure
Merge K Sorted Lists https://leetcode.com/problems/merge-k-sorted-lists

27주

문제이름 문제링크
Word Search II https://leetcode.com/problems/word-search-ii
Merge Triplets to Form Target Triplet https://leetcode.com/problems/merge-triplets-to-form-target-triplet
Interleaving String https://leetcode.com/problems/interleaving-string
Longest Increasing Path in a Matrix https://leetcode.com/problems/longest-increasing-path-in-a-matrix
Time Based Key Value Store https://leetcode.com/problems/time-based-key-value-store

28주

문제이름 문제링크
Surrounded Regions https://leetcode.com/problems/surrounded-regions
Word Ladder https://leetcode.com/problems/word-ladder
Reverse Nodes in K Group https://leetcode.com/problems/reverse-nodes-in-k-group
Unique Paths https://leetcode.com/problems/unique-paths
Distinct Subsequences https://leetcode.com/problems/distinct-subsequences

29주

문제이름 문제링크
Minimum Interval to Include each Query https://leetcode.com/problems/minimum-interval-to-include-each-query
Trapping Rain Water https://leetcode.com/problems/trapping-rain-water
Binary Tree Maximum Path Sum https://leetcode.com/problems/binary-tree-maximum-path-sum
Find Median from Data Stream https://leetcode.com/problems/find-median-from-data-stream
Burst Balloons https://leetcode.com/problems/burst-balloons

30주

문제이름 문제링크
Minimum Window Substring https://leetcode.com/problems/minimum-window-substring
Reconstruct Itinerary https://leetcode.com/problems/reconstruct-itinerary
Number of connected Components in an Undirected Graph https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph https://neetcode.io/problems/count-connected-components
Regular Expression Matching https://leetcode.com/problems/regular-expression-matching
Koko Eating Bananas https://leetcode.com/problems/koko-eating-bananas