Restructure NeetCode study materials into a dedicated Anki-exportable deck directory. Separates DSA problem notes from C++ flashcards. - Move roadmap.org from leetcode/out/ to org/study_deck_02/ - Move 200 note files from org/cpp/dsa/ to org/study_deck_02/dsa/ - Add #+PROPERTY: STUDY_DECK_02 to all org files for org-anki export - Simplify roadmap format: properties drawer replaces nested headings - Update NEETCODE backlinks in all note files - Update extract.mjs and scaffold-notes.mjs for new paths - Create org/study_deck_02/AGENTS.md with study workflow docs - Update root and leetcode AGENTS.md
98 KiB
NeetCode Roadmap
- Arrays & Hashing [/]
- 0217. Contains Duplicate
- 0242. Valid Anagram
- 2678. Number of Senior Citizens
- 0001. Two Sum
- 1408. String Matching in an Array
- 0049. Group Anagrams
- 0347. Top K Frequent Elements
- 0271. Encode and Decode Strings
- 0238. Product of Array Except Self
- 1769. Minimum Number of Operations to Move All Balls to Each Box
- 0036. Valid Sudoku
- 0128. Longest Consecutive Sequence
- Two Pointers [/]
- Binary Search [/]
- 0704. Binary Search
- 2300. Successful Pairs of Spells and Potions
- 0074. Search a 2D Matrix
- 0875. Koko Eating Bananas
- 0153. Find Minimum In Rotated Sorted Array
- 0033. Search In Rotated Sorted Array
- 0981. Time Based Key Value Store
- 0719. Find K-th Smallest Pair Distance
- 0004. Median of Two Sorted Arrays
- Stack [/]
- Sliding Window [/]
- Linked List [/]
- 0206. Reverse Linked List
- 0021. Merge Two Sorted Lists
- 0141. Linked List Cycle
- 2487. Remove Nodes From Linked List
- 0143. Reorder List
- 0019. Remove Nth Node From End of List
- 1721. Swapping Nodes in a Linked List
- 0138. Copy List With Random Pointer
- 1472. Design Browser History
- 0002. Add Two Numbers
- 0287. Find The Duplicate Number
- 0725. Split Linked List in Parts
- 0146. LRU Cache
- 0023. Merge K Sorted Lists
- 0025. Reverse Nodes In K Group
- Trees [/]
- 0590. N-ary Tree Postorder Traversal
- 0226. Invert Binary Tree
- 0104. Maximum Depth of Binary Tree
- 0543. Diameter of Binary Tree
- 0110. Balanced Binary Tree
- 0100. Same Tree
- 0572. Subtree of Another Tree
- 0235. Lowest Common Ancestor of a Binary Search Tree
- 0102. Binary Tree Level Order Traversal
- 0199. Binary Tree Right Side View
- 1376. Time Needed to Inform All Employees
- 1448. Count Good Nodes In Binary Tree
- 0098. Validate Binary Search Tree
- 0230. Kth Smallest Element In a Bst
- 0105. Construct Binary Tree From Preorder And Inorder Traversal
- 1028. Recover a Tree From Preorder Traversal
- 0124. Binary Tree Maximum Path Sum
- 0297. Serialize And Deserialize Binary Tree
- Tries [/]
- Heap / Priority Queue [/]
- Backtracking [/]
- 1863. Sum of All Subsets XOR Total
- 0078. Subsets
- 0039. Combination Sum
- 0040. Combination Sum II
- 0077. Combinations
- 0046. Permutations
- 0090. Subsets II
- 0022. Generate Parentheses
- 1079. Letter Tile Possibilities
- 0079. Word Search
- 0131. Palindrome Partitioning
- 0017. Letter Combinations of a Phone Number
- 0351. Android Unlock Patterns
- 0051. N Queens
- 0052. N Queens II
- Graphs [/]
- 2924. Find Champion II
- 0200. Number of Islands
- 0695. Max Area of Island
- 2658. Maximum Number of Fish in a Grid
- 0133. Clone Graph
- 0286. Walls And Gates
- 0994. Rotting Oranges
- 1905. Count Sub Islands
- 0417. Pacific Atlantic Water Flow
- 0130. Surrounded Regions
- 0802. Find Eventual Safe States
- 0207. Course Schedule
- 0210. Course Schedule II
- 0261. Graph Valid Tree
- 0323. Number of Connected Components In An Undirected Graph
- 0684. Redundant Connection
- 2092. Find All People With Secret
- 0127. Word Ladder
- 1-D Dynamic Programming [/]
- 0070. Climbing Stairs
- 0746. Min Cost Climbing Stairs
- 0198. House Robber
- 0213. House Robber II
- 0005. Longest Palindromic Substring
- 0647. Palindromic Substrings
- 0091. Decode Ways
- 0322. Coin Change
- 0152. Maximum Product Subarray
- 0139. Word Break
- 0300. Longest Increasing Subsequence
- 0416. Partition Equal Subset Sum
- 0656. Coin Path
- Intervals [/]
- Greedy [/]
- Advanced Graphs [/]
- Bit Manipulation [/]
- Math & Geometry [/]
- 0840. Magic Squares In Grid
- 0048. Rotate Image
- 0054. Spiral Matrix
- 2326. Spiral Matrix IV
- 0073. Set Matrix Zeroes
- 0202. Happy Number
- 0066. Plus One
- 0009. Palindrome Number
- 0012. Integer to Roman
- 0050. Pow(x, n)
- 2698. Find the Punishment Number of an Integer
- 1780. Check if Number is a Sum of Powers of Three
- 0043. Multiply Strings
- 2013. Detect Squares
- 0296. Best Meeting Point
- 2-D Dynamic Programming [/]
- 0062. Unique Paths
- 1143. Longest Common Subsequence
- 0309. Best Time to Buy And Sell Stock With Cooldown
- 0518. Coin Change II
- 0494. Target Sum
- 0097. Interleaving String
- 0329. Longest Increasing Path In a Matrix
- 1911. Maximum Alternating Subsequence Sum
- 0115. Distinct Subsequences
- 0072. Edit Distance
- 1220. Count Vowels Permutation
- 0312. Burst Balloons
- 0010. Regular Expression Matching
Source: neetcode.io/roadmap
TODO Arrays & Hashing [/]
TODO 0217. Contains Duplicate easy
Notes: My Solution
TODO 0242. Valid Anagram easy
Notes: My Solution
TODO 2678. Number of Senior Citizens easy
Notes: My Solution
TODO 0001. Two Sum easy
Notes: My Solution
TODO 1408. String Matching in an Array easy
Notes: My Solution
TODO 0049. Group Anagrams medium
Notes: My Solution
TODO 0347. Top K Frequent Elements medium
Notes: My Solution
TODO 0271. Encode and Decode Strings medium
Notes: My Solution
TODO 0238. Product of Array Except Self medium
Notes: My Solution
TODO 1769. Minimum Number of Operations to Move All Balls to Each Box medium
Notes: My Solution
TODO 0036. Valid Sudoku medium
Notes: My Solution
TODO 0128. Longest Consecutive Sequence medium
Notes: My Solution
TODO Two Pointers [/]
TODO 0344. Reverse String easy
Notes: My Solution
TODO 0125. Valid Palindrome easy
Notes: My Solution
TODO 0167. Two Sum II Input Array Is Sorted medium
Notes: My Solution
TODO 0015. 3Sum medium
Notes: My Solution
TODO 0011. Container With Most Water medium
Notes: My Solution
TODO 0259. 3Sum Smaller medium
Notes: My Solution
TODO 0042. Trapping Rain Water hard
Notes: My Solution
TODO Binary Search [/]
TODO 0704. Binary Search easy
Notes: My Solution
TODO 2300. Successful Pairs of Spells and Potions medium
Notes: My Solution
TODO 0074. Search a 2D Matrix medium
Notes: My Solution
TODO 0875. Koko Eating Bananas medium
Notes: My Solution
TODO 0153. Find Minimum In Rotated Sorted Array medium
Notes: My Solution
TODO 0033. Search In Rotated Sorted Array medium
Notes: My Solution
TODO 0981. Time Based Key Value Store medium
Notes: My Solution
TODO 0719. Find K-th Smallest Pair Distance hard
Notes: My Solution
TODO 0004. Median of Two Sorted Arrays hard
Notes: My Solution
TODO Stack [/]
TODO 0682. Baseball Game easy
Notes: My Solution
TODO 0020. Valid Parentheses easy
Notes: My Solution
TODO 1544. Make The String Great easy
Notes: My Solution
TODO 0155. Min Stack medium
Notes: My Solution
TODO 0150. Evaluate Reverse Polish Notation medium
Notes: My Solution
TODO 0739. Daily Temperatures medium
Notes: My Solution
TODO 0901. Online Stock Span medium
Notes: My Solution
TODO 0853. Car Fleet medium
Notes: My Solution
TODO 0084. Largest Rectangle In Histogram hard
Notes: My Solution
TODO 0726. Number of Atoms hard
Notes: My Solution
TODO Sliding Window [/]
TODO 0121. Best Time to Buy And Sell Stock easy
Notes: My Solution
TODO 0003. Longest Substring Without Repeating Characters medium
Notes: My Solution
TODO 0424. Longest Repeating Character Replacement medium
Notes: My Solution
TODO 0567. Permutation In String medium
Notes: My Solution
TODO 3306. Count of Substrings Containing Every Vowel and K Consonants II medium
Notes: My Solution
TODO 0076. Minimum Window Substring hard
Notes: My Solution
TODO 0239. Sliding Window Maximum hard
Notes: My Solution
TODO Linked List [/]
TODO 0206. Reverse Linked List easy
Notes: My Solution
TODO 0021. Merge Two Sorted Lists easy
Notes: My Solution
TODO 0141. Linked List Cycle easy
Notes: My Solution
TODO 2487. Remove Nodes From Linked List medium
Notes: My Solution
TODO 0143. Reorder List medium
Notes: My Solution
TODO 0019. Remove Nth Node From End of List medium
Notes: My Solution
TODO 1721. Swapping Nodes in a Linked List medium
Notes: My Solution
TODO 0138. Copy List With Random Pointer medium
Notes: My Solution
TODO 1472. Design Browser History medium
Notes: My Solution
TODO 0002. Add Two Numbers medium
Notes: My Solution
TODO 0287. Find The Duplicate Number medium
Notes: My Solution
TODO 0725. Split Linked List in Parts medium
Notes: My Solution
TODO 0146. LRU Cache medium
Notes: My Solution
TODO 0023. Merge K Sorted Lists hard
Notes: My Solution
TODO 0025. Reverse Nodes In K Group hard
Notes: My Solution
TODO Trees [/]
TODO 0590. N-ary Tree Postorder Traversal easy
Notes: My Solution
TODO 0226. Invert Binary Tree easy
Notes: My Solution
TODO 0104. Maximum Depth of Binary Tree easy
Notes: My Solution
TODO 0543. Diameter of Binary Tree easy
Notes: My Solution
TODO 0110. Balanced Binary Tree easy
Notes: My Solution
TODO 0100. Same Tree easy
Notes: My Solution
TODO 0572. Subtree of Another Tree easy
Notes: My Solution
TODO 0235. Lowest Common Ancestor of a Binary Search Tree medium
Notes: My Solution
TODO 0102. Binary Tree Level Order Traversal medium
Notes: My Solution
TODO 0199. Binary Tree Right Side View medium
Notes: My Solution
TODO 1376. Time Needed to Inform All Employees medium
Notes: My Solution
TODO 1448. Count Good Nodes In Binary Tree medium
Notes: My Solution
TODO 0098. Validate Binary Search Tree medium
Notes: My Solution
TODO 0230. Kth Smallest Element In a Bst medium
Notes: My Solution
TODO 0105. Construct Binary Tree From Preorder And Inorder Traversal medium
Notes: My Solution
TODO 1028. Recover a Tree From Preorder Traversal hard
Notes: My Solution
TODO 0124. Binary Tree Maximum Path Sum hard
Notes: My Solution
TODO 0297. Serialize And Deserialize Binary Tree hard
Notes: My Solution
TODO Tries [/]
TODO 0208. Implement Trie Prefix Tree medium
Notes: My Solution
TODO 0211. Design Add And Search Words Data Structure medium
Notes: My Solution
TODO 1166. Design File System medium
Notes: My Solution
TODO 0212. Word Search II hard
Notes: My Solution
TODO Heap / Priority Queue [/]
TODO 0703. Kth Largest Element In a Stream easy
Notes: My Solution
TODO 1046. Last Stone Weight easy
Notes: My Solution
TODO 0973. K Closest Points to Origin medium
Notes: My Solution
TODO 0215. Kth Largest Element In An Array medium
Notes: My Solution
TODO 0621. Task Scheduler medium
Notes: My Solution
TODO 0355. Design Twitter medium
Notes: My Solution
TODO 0295. Find Median From Data Stream hard
Notes: My Solution
TODO Backtracking [/]
TODO 1863. Sum of All Subsets XOR Total easy
Notes: My Solution
TODO 0078. Subsets medium
Notes: My Solution
TODO 0039. Combination Sum medium
Notes: My Solution
TODO 0040. Combination Sum II medium
Notes: My Solution
TODO 0077. Combinations medium
Notes: My Solution
TODO 0046. Permutations medium
Notes: My Solution
TODO 0090. Subsets II medium
Notes: My Solution
TODO 0022. Generate Parentheses medium
Notes: My Solution
TODO 1079. Letter Tile Possibilities medium
Notes: My Solution
TODO 0079. Word Search medium
Notes: My Solution
TODO 0131. Palindrome Partitioning medium
Notes: My Solution
TODO 0017. Letter Combinations of a Phone Number medium
Notes: My Solution
TODO 0351. Android Unlock Patterns medium
Notes: My Solution
TODO 0051. N Queens hard
Notes: My Solution
TODO 0052. N Queens II hard
Notes: My Solution
TODO Graphs [/]
TODO 2924. Find Champion II medium
Notes: My Solution
TODO 0200. Number of Islands medium
Notes: My Solution
TODO 0695. Max Area of Island medium
Notes: My Solution
TODO 2658. Maximum Number of Fish in a Grid medium
Notes: My Solution
TODO 0133. Clone Graph medium
Notes: My Solution
TODO 0286. Walls And Gates medium
Notes: My Solution
TODO 0994. Rotting Oranges medium
Notes: My Solution
TODO 1905. Count Sub Islands medium
Notes: My Solution
TODO 0417. Pacific Atlantic Water Flow medium
Notes: My Solution
TODO 0130. Surrounded Regions medium
Notes: My Solution
TODO 0802. Find Eventual Safe States medium
Notes: My Solution
TODO 0207. Course Schedule medium
Notes: My Solution
TODO 0210. Course Schedule II medium
Notes: My Solution
TODO 0261. Graph Valid Tree medium
Notes: My Solution
TODO 0323. Number of Connected Components In An Undirected Graph medium
Notes: My Solution
TODO 0684. Redundant Connection medium
Notes: My Solution
TODO 2092. Find All People With Secret hard
Notes: My Solution
TODO 0127. Word Ladder hard
Notes: My Solution
TODO 1-D Dynamic Programming [/]
TODO 0070. Climbing Stairs easy
Notes: My Solution
TODO 0746. Min Cost Climbing Stairs easy
Notes: My Solution
TODO 0198. House Robber medium
Notes: My Solution
TODO 0213. House Robber II medium
Notes: My Solution
TODO 0005. Longest Palindromic Substring medium
Notes: My Solution
TODO 0647. Palindromic Substrings medium
Notes: My Solution
TODO 0091. Decode Ways medium
Notes: My Solution
TODO 0322. Coin Change medium
Notes: My Solution
TODO 0152. Maximum Product Subarray medium
Notes: My Solution
TODO 0139. Word Break medium
Notes: My Solution
TODO 0300. Longest Increasing Subsequence medium
Notes: My Solution
TODO 0416. Partition Equal Subset Sum medium
Notes: My Solution
TODO 0656. Coin Path hard
Notes: My Solution
TODO Intervals [/]
TODO 0057. Insert Interval medium
Notes: My Solution
TODO 0056. Merge Intervals medium
Notes: My Solution
TODO 0435. Non Overlapping Intervals medium
Notes: My Solution
TODO 0986. Interval List Intersections medium
Notes: My Solution
TODO 0252. Meeting Rooms easy
Notes: My Solution
TODO 0253. Meeting Rooms II medium
Notes: My Solution
TODO 1851. Minimum Interval to Include Each Query hard
Notes: My Solution
TODO Greedy [/]
TODO 0945. Minimum Increment to Make Array Unique medium
Notes: My Solution
TODO 0053. Maximum Subarray medium
Notes: My Solution
TODO 0978. Longest Turbulent Subarray medium
Notes: My Solution
TODO 0055. Jump Game medium
Notes: My Solution
TODO 0045. Jump Game II medium
Notes: My Solution
TODO 1871. Jump Game VII medium
Notes: My Solution
TODO 0134. Gas Station medium
Notes: My Solution
TODO 0846. Hand of Straights medium
Notes: My Solution
TODO 1899. Merge Triplets to Form Target Triplet medium
Notes: My Solution
TODO 0763. Partition Labels medium
Notes: My Solution
TODO 0678. Valid Parenthesis String medium
Notes: My Solution
TODO Advanced Graphs [/]
TODO 0743. Network Delay Time medium
Notes: My Solution
TODO 0332. Reconstruct Itinerary hard
Notes: My Solution
TODO 1584. Min Cost to Connect All Points medium
Notes: My Solution
TODO 2812. Find the Safest Path in a Grid medium
Notes: My Solution
TODO 0778. Swim In Rising Water hard
Notes: My Solution
TODO 0269. Alien Dictionary hard
Notes: My Solution
TODO 0787. Cheapest Flights Within K Stops medium
Notes: My Solution
TODO 2493. Divide Nodes Into the Maximum Number of Groups hard
Notes: My Solution
TODO Bit Manipulation [/]
TODO 0136. Single Number easy
Notes: My Solution
TODO 0260. Single Number III medium
Notes: My Solution
TODO 0191. Number of 1 Bits easy
Notes: My Solution
TODO 0338. Counting Bits easy
Notes: My Solution
TODO 2220. Minimum Bit Flips to Convert Number easy
Notes: My Solution
TODO 0190. Reverse Bits easy
Notes: My Solution
TODO 0268. Missing Number easy
Notes: My Solution
TODO 0231. Power of Two easy
Notes: My Solution
TODO 0371. Sum of Two Integers medium
Notes: My Solution
TODO 0007. Reverse Integer medium
Notes: My Solution
TODO Math & Geometry [/]
TODO 0840. Magic Squares In Grid medium
Notes: My Solution
TODO 0048. Rotate Image medium
Notes: My Solution
TODO 0054. Spiral Matrix medium
Notes: My Solution
TODO 2326. Spiral Matrix IV medium
Notes: My Solution
TODO 0073. Set Matrix Zeroes medium
Notes: My Solution
TODO 0202. Happy Number easy
Notes: My Solution
TODO 0066. Plus One easy
Notes: My Solution
TODO 0009. Palindrome Number easy
Notes: My Solution
TODO 0012. Integer to Roman medium
Notes: My Solution
TODO 0050. Pow(x, n) medium
Notes: My Solution
TODO 2698. Find the Punishment Number of an Integer medium
Notes: My Solution
TODO 1780. Check if Number is a Sum of Powers of Three medium
Notes: My Solution
TODO 0043. Multiply Strings medium
Notes: My Solution
TODO 2013. Detect Squares medium
Notes: My Solution
TODO 0296. Best Meeting Point hard
Notes: My Solution
TODO 2-D Dynamic Programming [/]
TODO 0062. Unique Paths medium
Notes: My Solution
TODO 1143. Longest Common Subsequence medium
Notes: My Solution
TODO 0309. Best Time to Buy And Sell Stock With Cooldown medium
Notes: My Solution
TODO 0518. Coin Change II medium
Notes: My Solution
TODO 0494. Target Sum medium
Notes: My Solution
TODO 0097. Interleaving String medium
Notes: My Solution
TODO 0329. Longest Increasing Path In a Matrix hard
Notes: My Solution
TODO 1911. Maximum Alternating Subsequence Sum medium
Notes: My Solution
TODO 0115. Distinct Subsequences hard
Notes: My Solution
TODO 0072. Edit Distance medium
Notes: My Solution
TODO 1220. Count Vowels Permutation hard
Notes: My Solution
TODO 0312. Burst Balloons hard
Notes: My Solution
TODO 0010. Regular Expression Matching hard
Notes: My Solution