Algorithm Data Structure, Algorithm
- 1101. Data Structure - Overview1101. Data Structure - Overview
Overview of common data structures.
- Comments
- |
- Data Structure
- 1111. Data Structure - Linked List1111. Data Structure - Linked List
Implement linked list.
- Comments
- |
- Singly Linked List, Doubly Linked List
- 1112. Data Structure - Stack1112. Data Structure - Stack
Implement stack with linked list and array.
- Comments
- |
- Stack, LIFO
- 1113. Data Structure - Queue1113. Data Structure - Queue
Implement queue with linked list and array.
- Comments
- |
- Queue, FIFO
- 1114. Data Structure - Deque1114. Data Structure - Deque
Implement deque with linked list and circular array.
- Comments
- |
- Deque
- 1116. Data Structure - LRU Cache1116. Data Structure - LRU Cache
Implement Least Recently Used(LRU) cache.
- Comments
- |
- LRU, Cache
- 1117. Data Structure - LFU Cache1117. Data Structure - LFU Cache
Implement Least Frequently Used(LFU) cache.
- Comments
- |
- LFU, Cache
- 1118. Data Structure - Monotonic Queue1118. Data Structure - Monotonic Queue
Implement monotonic queue.
- Comments
- |
- Monotonic Queue
- 1119. Data Structure - Skip List1119. Data Structure - Skip List
Implement SkipList.
- Comments
- |
- SkipList
- 1121. Data Structure - Tree1121. Data Structure - Tree
Different types of tree data structure, tree traversal.
- Comments
- |
- Tree, Binary Tree
- 1122. Data Structure - Binary Search Tree1122. Data Structure - Binary Search Tree
Implement and traverse binary search tree.
- Comments
- |
- BST, Inorder
- 1123. Data Structure - Red Black Tree - draft1123. Data Structure - Red Black Tree - dra...
Introduce red black tree and its properties.
- Comments
- |
- RBT
- 1123. Data Structure - N-ary Tree1123. Data Structure - N-ary Tree
Implement and traverse N-ary Tree.
- Comments
- |
- N-ary, Nary
- 1124. Data Structure - B Tree1124. Data Structure - B Tree
Introduce B Tree and its properties.
- Comments
- |
- BTree
- 1125. Data Structure - B+ Tree1125. Data Structure - B+ Tree
Introduce B+ Tree and its properties.
- Comments
- |
- B+ Tree
- 1126. Data Structure - Trie1126. Data Structure - Trie
Implement trie for word search.
- Comments
- |
- Trie, Prefix Tree
- 1127. Data Structure - Segment Tree1127. Data Structure - Segment Tree
Implement segment tree for range search.
- Comments
- |
- Segment Tree, Interval Tree
- 1128. Data Structure - Fenwick Tree1128. Data Structure - Fenwick Tree
Use fenwick tree to efficiently solve the prefix sum problem.
- Comments
- |
- Fenwick, Binary Indexed Tree
- 1131. Data Structure - HashMap1131. Data Structure - HashMap
Implement HashMap with array and linked list.
- Comments
- |
- Hash, Load Factor, Rehashing
- 1132. Data Structure - Heap1132. Data Structure - Heap
Implement heap with array.
- Comments
- |
- Max Heap, Min Heap
- 1133. Data Structure - Bloom Filter1133. Data Structure - Bloom Filter
Bloom filter and its implementation.
- Comments
- |
- Bloom Filter
- 1141. Data Structure - Graph1141. Data Structure - Graph
Implement undirected graph.
- Comments
- |
- Graph, DFS, BFS
- 1142. Data Structure - Graph Problems1142. Data Structure - Graph Problems
Popular graph problems.
- Comments
- |
- Graph, DFS, BFS
- 1143. Data Structure - Bipartite Graph1143. Data Structure - Bipartite Graph
Bipartite Graph.
- Comments
- |
- Bipartite Graph, Hungarian Algorithm
- 1144. Data Structure - Directed Graph - Draft1144. Data Structure - Directed Graph - Dra...
Implement directed graph.
- Comments
- |
- Directed Graph, Topological Sorting
- 1145. Data Structure - Topological Sorting1145. Data Structure - Topological Sorting
Topological Sorting and related questions.
- Comments
- |
- Topological Sorting
- 1146. Data Structure - Minimum Spanning Tree - Draft1146. Data Structure - Minimum Spanning Tre...
Implement minimum spanning tree.
- Comments
- |
- MST
-
- 1203. Algorithm - Bit Manipulation1203. Algorithm - Bit Manipulation
Bit Manipulation.
- Comments
- |
- Xor, Shifting
- 1211. Algorithm - Binary Search1211. Algorithm - Binary Search
Binary search template.
- Comments
- |
- Binary Search
- 1212. Algorithm - Two Pointers1212. Algorithm - Two Pointers
Two pointers technique.
- Comments
- |
- Two Pointers
- 1213. Algorithm - Divide and Conquer1213. Algorithm - Divide and Conquer
Divide and Conquer.
- Comments
- |
- Divide, Conquer
- 1214. Algorithm - BFS and DFS1214. Algorithm - BFS and DFS
Use BSF and DSF to solve tree and graph problems.
- Comments
- |
- BFS, DFS
- 1215. Algorithm - Combination and Permutation1215. Algorithm - Combination and Permutati...
Implement DFS for combination, permutation and subset.
- Comments
- |
- Combination, Permutation, Subset
- 1217. Algorithm - Union Find1217. Algorithm - Union Find
Use Union-Find approach for solve disjoint set problems.
- Comments
- |
- Disjoint Set, Union, Find
- 1221. Algorithm - Dynamic Programming1221. Algorithm - Dynamic Programming
Introduce dynamic programming.
- Comments
- |
- DP
- 1222. Algorithm - Sequence DP1222. Algorithm - Sequence DP
Introduce dynamic programming.
- Comments
- |
- DP
- 1223. Algorithm - Two Sequences DP1223. Algorithm - Two Sequences DP
Introduce dynamic programming.
- Comments
- |
- DP
- 1224. Algorithm - Matrix DP1224. Algorithm - Matrix DP
Introduce dynamic programming.
- Comments
- |
- DP
- 1225. Algorithm - Knapsack Problems1225. Algorithm - Knapsack Problems
Knapsack problems.
- Comments
- |
- DP, Knapsack
- 1231. Algorithm - Sweep Line1231. Algorithm - Sweep Line
Sweep line approach for solving interval problems.
- Comments
- |
- Sweep Line
- 1232. Algorithm - Sqrt Decomposition1232. Algorithm - Sqrt Decomposition
Implement Sqrt Decomposition for range search problems.
- Comments
- |
- Sqrt Decomposition
- 1233. Algorithm - Minimax Algorithm - Draft1233. Algorithm - Minimax Algorithm - Draft
Implement Minimax algorithm.
- Comments
- |
- Minimax
- 1235. Algorithm - Map Reduce - Draft1235. Algorithm - Map Reduce - Draft
Implement Map Reduce.
- Comments
- |
- Map, Reduce
- 1236. Algorithm - Pre Sum - Draft1236. Algorithm - Pre Sum - Draft
Presum for multiple queries.
- Comments
- |
- Pre sum
- 1239. Algorithm - Random1239. Algorithm - Random
Implement solutions for Random questions
- Comments
- |
- String, Array
- 1240. Algorithm - Coordinate1240. Algorithm - Coordinate
Coordinate questions.
- Comments
- |
- String, Array
- 1241. Algorithm - Math1241. Algorithm - Math
Common approaches for solving string and array problems
- Comments
- |
- String, Array
- 1301. Algorithm - Templates1301. Algorithm - Templates
Templates for algorithms solutions.
- Comments
- |
- Algorithm
- 1302. Algorithm - Best Practice1302. Algorithm - Best Practice
Useful tricks for solving algorithms problems
- Comments
- |
- Algorithm
- 1303. Algorithm - Java Best Practice1303. Algorithm - Java Best Practice
Useful Java tricks.
- Comments
- |
- Java, Stream, Regex
- 1304. Algorithm - Useful Math Knowledge1304. Algorithm - Useful Math Knowledge
Useful math knowledge for algorithm problems.
- Comments
- |
- Math, GCD
- 1305. Algorithm - Template for Subset Problems1305. Algorithm - Template for Subset Probl...
Introduce how the Subset template comes up.
- Comments
- |
- Algorithm, Subsets
- 1306. Algorithm - Serialize and Deserialize Tree1306. Algorithm - Serialize and Deserialize...
Serialize and Deserialize Binary Tree, Binary Search Tree and N-ary Tree
- Comments
- |
- Tree, BST, NaryTree
- 1307. Algorithm - Chi squared test for randomness1307. Algorithm - Chi squared test for rand...
Chi-squared test.
- Comments
- |
- Random
- 1311. Algorithm - Problem List at LeetCode1311. Algorithm - Problem List at LeetCode
Problem List at LeetCode.
- Comments
- |
- Algorithm, Leetcode
- 1401. Problem - Custom List1401. Problem - Custom List
Implement custom array list and linked list.
- Comments
- |
- List, Stack, Queue
- 1402. Problem - Word Counter1402. Problem - Word Counter
Count the number of words in file.
- Comments
- |
- Word Counter
- 1403. Problem - Image Cache1403. Problem - Image Cache
Implement a cache for storing images.
- Comments
- |
- Image Cache
- 1404. Problem - Random ID1404. Problem - Random ID
Implement a random id generator.
- Comments
- |
- Random ID
- 1405. Problem - Custom Thread Pool1405. Problem - Custom Thread Pool
Implement a thread pool with blocking queue.
- Comments
- |
- Thread Pool, BlockingQueue
- 1406. Problem - Versioned Key‐Value Store1406. Problem - Versioned Key‐Value Store
Implement a versioned Key‐Value store data structure.
- Comments
- |
- Key‐Value
- 1407. Problem - Word Rank1407. Problem - Word Rank
Implement data structure for searching word based on rank.
- Comments
- |
- Prefix
- 1408. Problem - Number in Base Representation1408. Problem - Number in Base Representati...
Convert number into different base representation.
- Comments
- |
- Base Representation