0001. Two Sum |
Easy |
Array Hash Table |
cpp |
java |
js |
py |
go |
kt |
rs |
0002. Add Two Numbers |
Medium |
Recursion Linked List Math |
cpp |
|
|
py |
|
|
|
0003. Longest Substring Without Repeating Characters |
Medium |
Hash Table Two Pointers String |
cpp |
|
|
py |
go |
kt |
|
0004. Median of Two Sorted Arrays |
Hard |
Array Binary Search Divide and Conquer |
|
|
|
|
|
kt |
|
0005. Longest Palindromic Substring |
Medium |
String Dynamic Programming |
cpp |
java |
|
py |
|
kt |
|
0006. ZigZag Conversion |
Medium |
String |
cpp |
java |
|
py |
|
kt |
|
0007. Reverse Integer |
Easy |
Math |
cpp |
|
|
py |
|
kt |
|
0009. Palindrome Number |
Easy |
Math |
|
|
|
|
|
kt |
|
0011. Container With Most Water |
Medium |
Array Two Pointers Greedy |
cpp |
|
|
py |
|
|
|
0012. Integer to Roman |
Medium |
Math String |
cpp |
|
|
py |
|
kt |
|
0013. Roman to Integer |
Easy |
Math String |
cpp |
|
|
|
|
kt |
|
0014. Longest Common Prefix |
Easy |
String |
cpp |
|
|
|
|
|
|
0015. 3Sum |
Medium |
Array Two Pointers |
cpp |
|
|
py |
|
|
|
0017. Letter Combinations of a Phone Number |
Medium |
String Backtracking |
|
|
|
py |
|
kt |
|
0018. 4Sum |
Medium |
Array Two Pointers |
cpp |
|
|
py |
|
|
|
0020. Valid Parentheses |
Easy |
String Stack |
cpp |
|
|
py |
|
kt |
|
0021. Merge Two Sorted Lists |
Easy |
Recursion Linked List |
cpp |
|
|
py |
go |
|
|
0022. Generate Parentheses |
Medium |
String Backtracking |
cpp |
|
|
py |
|
|
|
0024. Swap Nodes in Pairs |
Medium |
Linked List |
cpp |
java |
|
|
|
|
|
0026. Remove Duplicates from Sorted Array |
Easy |
Array Two Pointers |
cpp |
|
|
py |
|
kt |
|
0027. Remove Element |
Easy |
Array Two Pointers |
cpp |
|
|
py |
|
kt |
|
0028. Implement strStr() |
Easy |
Two Pointers String |
cpp |
|
|
|
|
|
|
0029. Divide Two Integers |
Medium |
Bit Manipulation Math |
cpp |
|
|
|
|
|
|
0030. Substring with Concatenation of All Words |
Hard |
String Hash Table Slide Window |
|
|
|
py |
|
|
|
0031. Next Permutation |
Medium |
Array Two Pointers |
|
|
|
py |
|
|
|
0033. Search in Rotated Sorted Array |
Medium |
Array Binary Search |
cpp |
|
|
py |
|
|
|
0034. Search for a Range |
Medium |
Array Binary Search |
cpp |
|
|
py |
|
kt |
|
0035. Search Insert Position |
Easy |
Array Binary Search |
|
|
|
|
|
kt |
|
0036. Valid Sudoku |
Medium |
Array Hash Table |
cpp |
|
|
|
|
|
|
0038. Count and Say |
Medium |
String |
cpp |
|
|
|
|
|
|
0039. Combination Sum |
Medium |
Array Backtracking |
|
|
|
py |
|
|
|
0040. Combination Sum II |
Medium |
Array Backtracking |
|
|
|
py |
|
|
|
0041. First Missing Positive |
Hard |
Array |
cpp |
|
|
|
|
|
|
0042. Trapping Rain Water |
Hard |
Stack Array Two Pointers Dynamic Programming |
cpp |
|
|
py |
|
|
|
0045. Jump Game II |
Medium |
Array Dynamic Programming Greedy |
cpp |
|
|
py |
go |
|
|
0046. Permutations |
Medium |
Backtracking |
|
|
|
|
|
kt |
|
0047. Permutations II |
Medium |
Backtracking/ |
cpp |
|
|
py |
|
kt |
|
0048. Rotate Image |
Medium |
Array |
cpp |
|
|
py |
|
|
|
0050. Pow(x, n) |
Medium |
Math Binary Search |
|
|
|
|
|
kt |
|
0051. N Queens |
Hard |
Backtracking |
|
|
|
|
|
kt |
|
0053. Maximum Subarray |
Easy |
Array Divide and Conquer Dynamic Programming |
cpp |
java |
|
py |
go |
|
|
0054. Spiral Matrix |
Medium |
Array |
cpp |
|
|
|
|
|
|
0055. Jump Game |
Medium |
Array Dynamic Programming Greedy |
cpp |
|
|
py |
go |
|
|
0056. Merge Intervals |
Medium |
Array Sorting |
cpp |
java |
|
py |
|
|
|
0058. Length of Last Word |
Easy |
String |
cpp |
|
|
py |
go |
kt |
|
0059. Spiral Matrix II |
Medium |
Array |
cpp |
|
|
py |
|
|
|
0061. Rotate List |
Medium |
Two Pointers Linked List |
cpp |
|
|
py |
|
|
|
0062. Unique Paths |
Medium |
Dynamic Programming Math Combinatorics |
|
|
|
py |
|
|
|
0063. Unique Paths II |
Medium |
Array Matrix Dynamic Programming |
|
|
|
py |
|
|
|
0064. Minimum Path Sum |
Medium |
Array Dynamic Programming |
cpp |
|
|
py |
|
kt |
|
0066. Plus One |
Easy |
Array Math |
cpp |
|
|
py |
|
|
|
0067. Add Binary |
Easy |
Math String |
|
|
|
|
|
kt |
|
0068. Text Justification |
Hard |
String Simulation |
cpp |
|
|
|
|
|
|
0069. Sqrt(x) |
Easy |
Math Binary Search |
|
|
|
|
|
kt |
|
0070. Climbing Stairs |
Easy |
Dynamic Programming |
cpp |
|
|
py |
go |
kt |
|
0071. Simplify Path |
Medium |
String Stack |
cpp |
|
|
py |
go |
kt |
|
0072. Edit Distance |
Hard |
String Dynamic Programming |
cpp |
|
|
py |
|
|
|
0073. Set Matrix Zeroes |
Medium |
Array |
cpp |
|
|
|
|
|
|
0074. Search a 2D Matrix |
Medium |
Array Binary Search |
cpp |
|
|
py |
|
|
|
0075. Sort Colors |
Medium |
Array Two Pointers Sort |
|
java |
js |
py |
|
kt |
|
0077. Combinations |
Medium |
Array Backtracking |
|
|
|
|
|
kt |
|
0078. Subsets |
Hard |
Array Backtracking Bit Manipulation |
cpp |
|
|
py |
|
|
|
0079. Word Search |
Medium |
Array Backtracking |
cpp |
|
|
py |
|
kt |
|
0080. Remove Duplicates from Sorted Array II |
Medium |
Array Two Pointers |
cpp |
|
|
py |
|
|
|
0081. Search in Rotated Sorted Array II |
Medium |
Array Binary Search |
cpp |
|
|
py |
|
|
|
0082. Remove Duplicates from Sorted List II |
Medium |
Linked List |
cpp |
|
|
py |
|
|
|
0083. Remove Duplicates from Sorted List |
Easy |
Linked List |
cpp |
|
|
py |
|
kt |
|
0087. Scramble String |
Hard |
String Dynamic Programming |
cpp |
|
|
py |
|
|
|
0088. Merge Sorted Array |
Easy |
Array Two Pointers |
cpp |
|
|
py |
|
kt |
|
0089. Gray Code |
Medium |
Backtracking Bit Manipulation Math |
cpp |
|
|
py |
go |
|
|
0090. Subsets II |
Medium |
Array Backtracking |
cpp |
|
|
py |
|
|
|
0091. Decode Ways |
Medium |
String Dynamic Programming |
cpp |
java |
|
py |
|
kt |
|
0092. Reverse Linked List II |
Medium |
Linked List |
cpp |
|
|
py |
|
|
|
0094. Binary Tree Inorder Traversal |
Medium |
Hash Table Stack Tree |
|
|
|
|
|
kt |
|
0096. Unique Binary Search Trees |
Medium |
Binary Tree Dynamic Programming Math Binary Search Tree Tree |
|
|
|
py |
|
|
|
0097. Interleaving String |
Medium |
String Dynamic Programming |
cpp |
|
|
py |
|
|
|
0098. Validate Binary Search Tree |
Medium |
Tree Depth-first Search |
cpp |
|
|
|
|
|
|
0100. Same Tree |
Easy |
Tree Depth-first Search |
|
|
|
|
|
kt |
|
0101. Symmetric Tree |
Easy |
tree Depth-first Search breadth-first Search |
|
|
|
py |
|
|
|
0102. Binary Tree Level Order Traversal |
Medium |
Tree Breadth-first Search |
cpp |
|
|
|
|
kt |
|
0103. Binary Tree Zigzag Level Order Traversal |
Medium |
Stack Tree Breadth-first Search |
|
|
|
|
|
kt |
|
0104. Maximum Depth of Binary Tree |
Easy |
Tree Depth-first Search |
cpp |
|
|
py |
|
kt |
|
0105. Construct Binary Tree from Preorder and Inorder Traversal |
Medium |
Array Tree Depth-first Search |
|
java |
|
|
|
kt |
|
0106. Construct Binary Tree from Inorder and Postorder Traversal |
Medium |
Array Tree Depth-first Search |
|
java |
|
|
|
kt |
|
0107. Binary Tree Level Order Traversal II |
Easy |
Tree Breadth-first Search |
|
|
|
py |
|
|
|
0108. Convert Sorted Array to Binary Search Tree |
Easy |
Tree Depth-first Search |
|
|
|
py |
|
|
|
0110. Balanced Binary Tree |
Easy |
Tree Depth-first Search Recursion |
|
|
|
py |
|
|
|
0111. Minimum Depth of Binary Tree |
Easy |
Tree Depth-first Search Breadth-first Search |
cpp |
|
|
|
|
kt |
|
0112. Path Sum |
Easy |
Tree Depth-first Search |
cpp |
|
|
py |
|
kt |
|
0115. Distinct Subsequences |
Hard |
String Dynamic Programming |
cpp |
|
|
py |
|
|
|
0117. Populating Next Right Pointers in Each Node II |
Medium |
Linked List Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0118. Pascal's Triangle |
Medium |
Linked List Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
java |
|
py |
|
kt |
|
0119. Pascal's Triangle II |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0120. Triangle |
Medium |
Array Dynamic Programming |
cpp |
|
|
py |
|
kt |
|
0121. Best Time to Buy and Sell Stock |
Easy |
Array Dynamic Programming |
cpp |
java |
js |
py |
go |
kt |
rs |
0122. Best Time to Buy and Sell Stock II |
Easy |
Array Greedy |
cpp |
|
|
py |
|
kt |
|
0125. Valid Palindrome |
Easy |
Two Pointers String |
|
|
|
|
|
kt |
|
0127. Word Ladder |
Medium |
Breadth-first Search |
cpp |
java |
|
|
|
kt |
|
0128. Longest Consecutive Sequence |
Hard |
Array Union Find |
|
|
|
|
|
kt |
|
0129. Sum Root to Leaf Numbers |
Medium |
Tree Depth-first Search |
|
|
|
py |
|
|
|
0130. Surrounded Regions |
Medium |
Depth-first Search Breadth-first Search Union Find |
cpp |
|
|
py |
|
kt |
|
0131. Palindrome Partitioning |
Medium |
Depth-first Search Dynamic Programming Backtracking |
cpp |
|
|
py |
|
|
|
0132. Palindrome Partitioning II |
Hard |
Dynamic Programming |
cpp |
|
|
py |
|
|
|
0136. Single Number |
Easy |
Hash Table Bit Manipulation |
|
|
|
|
|
kt |
|
0137. Single Number II |
Medium |
Bit Manipulation |
cpp |
|
|
py |
|
|
|
0139. Word Break |
Medium |
String Hash Table Dynamic Programming Trie |
|
|
|
py |
|
|
|
0141. Linked List Cycle |
Easy |
Linked List Two Pointerss |
cpp |
|
|
|
|
|
|
0142. Linked List Cycle II |
Medium |
Linked List Two Pointerss |
cpp |
|
|
|
|
|
|
0144. Binary Tree Preorder Traversal |
Medium |
Stack Tree |
|
|
|
|
|
kt |
|
0145. Binary Tree Postorder Traversal |
Hard |
Stack Tree |
|
|
|
|
|
kt |
|
0148. Sort List |
Medium |
Linked List Sort |
|
java |
|
|
|
kt |
|
0149. Max Points on a Line |
Hard |
Array Hash Table Math Geometry |
cpp |
|
|
py |
|
|
|
0150. Evaluate Reverse Polish Notation |
Medium |
Stack |
cpp |
java |
js |
py |
|
kt |
|
0151. Reverse Words in a String |
Medium |
String |
|
java |
|
|
|
|
|
0152. Maximum Product Subarray |
Medium |
Array Dynamic Programming |
|
|
|
py |
|
|
|
0153. Find Minimum in Rotated Sorted Array |
Medium |
Array Binary Search |
cpp |
|
|
py |
|
|
|
0154. Find Minimum in Rotated Sorted Array II |
Hard |
Array Binary Search |
cpp |
|
|
py |
|
|
|
0160. Intersection of Two Linked Lists |
Easy |
Two Pointers Linked List Hash Table |
cpp |
|
|
py |
|
|
|
0162. Find Peak Element |
Hard |
Array Binary Search |
cpp |
|
|
|
|
|
|
0165. Compare Version Numbers |
Medium |
String |
cpp |
|
|
py |
|
kt |
|
0166. Fraction to Recurring Decimal |
Medium |
Hash Table Math String |
cpp |
|
|
|
|
|
|
0167. Two Sum II - Input array is sorted |
Easy |
Array Two Pointers Binary Search |
cpp |
java |
|
py |
|
kt |
|
0168. Excel Sheet Column Title |
Hard |
String Math |
cpp |
|
|
py |
go |
|
|
0169. Majority Element |
Easy |
Bit Manipulation Array Divide and Conquer |
|
|
|
|
go |
|
|
0172. Factorial Trailing Zeroes |
Medium |
Math |
cpp |
java |
|
py |
go |
|
rs |
0173. Binary Search Tree Iterator |
Medium |
Stack Tree Design |
cpp |
|
|
|
|
|
|
0179. Largest Number |
Medium |
Sort |
cpp |
java |
|
py |
|
kt |
|
0187. Repeated DNA Sequences |
Medium |
Bit Manipulation Hash Table String Sliding Window |
cpp |
|
|
|
|
|
|
0189. Rotate Array |
Medium |
Array |
cpp |
|
|
|
go |
|
|
0190. Reverse Bits |
Easy |
Bit Manipulation |
cpp |
|
|
py |
|
|
|
0191. Number of 1 Bits |
Easy |
Bit Manipulation |
cpp |
|
|
|
|
|
|
0198. House Robber |
Easy |
Dynamic Programming |
cpp |
|
|
py |
go |
kt |
|
0199. Binary Tree Right Side View |
Medium |
Tree Depth-first Search Breadth-first Search |
|
|
|
|
|
kt |
|
0200. Number of Islands |
Medium |
Depth-first Search Breadth-first Search Union Find |
cpp |
|
|
py |
|
kt |
|
0201. Bitwise AND of Numbers Range |
Medium |
Bit Manipulation |
|
|
|
py |
|
|
|
0202. Happy Number |
Easy |
Hash Table Math |
cpp |
|
|
py |
|
kt |
|
0203. Remove Linked List Elements |
Easy |
Linked List |
|
|
|
|
|
kt |
|
0204. Count Primes |
Easy |
Hash Table Math |
|
|
|
|
|
kt |
|
0205. Isomorphic Strings |
Easy |
Hash Table |
cpp |
|
|
py |
|
kt |
|
0206. Reverse Linked List |
Easy |
Linked List |
cpp |
java |
|
|
|
kt |
|
0208. Implement Trie (Prefix Tree) |
Medium |
Design Trie |
cpp |
|
|
py |
|
|
|
0209. Minimum Size Subarray Sum |
Medium |
Array Two Pointers Binary Search |
cpp |
java |
|
py |
|
kt |
|
0211. Design Add and Search Words Data Structure |
Medium |
Depth-first Search Design Trie String |
cpp |
|
|
|
|
|
|
0212. Word Search II |
Hard |
Trie Array String Backtracking |
cpp |
|
|
|
|
|
|
0213. House Robber II |
Medium |
Dynamic Programming |
cpp |
|
|
py |
go |
|
|
0215. Kth Largest Element in an Array |
Medium |
Divide and Conquer Heap |
|
|
|
|
|
kt |
|
0217. Contains Duplicate |
Easy |
Array Hash Table |
cpp |
|
|
py |
|
kt |
|
0219. Contains Duplicate II |
Easy |
Array Hash Table |
cpp |
|
|
py |
go |
kt |
|
0220. Contains Duplicate III |
Medium |
Binary Search Tree |
cpp |
|
|
|
|
kt |
|
0221. Maximal Square |
Hard |
Array Matrix Dynamic Programming |
|
|
|
py |
|
|
|
0223. Rectangle Area |
Hard |
Math |
cpp |
|
|
|
|
|
|
0224. Basic Calculator |
Hard |
Stack Math |
cpp |
|
|
|
|
|
|
0225. Implement Stack using Queues |
Easy |
Queue Design |
cpp |
|
|
|
|
|
|
0226. Invert Binary Tree |
Easy |
Tree |
|
|
|
|
|
kt |
|
0227. Basic Calculator II |
Medium |
Stack String |
cpp |
|
|
py |
|
|
|
0228. Summary Ranges |
Easy |
Array |
cpp |
java |
|
|
|
|
|
0229. Majority Element II |
Medium |
Array Hash Table |
cpp |
|
|
|
|
|
|
0230. Kth Smallest Element in a BST |
Medium |
Binary Search Tree |
cpp |
|
|
py |
|
kt |
|
0231. Power of Two |
Easy |
Math Bit Manipulation |
cpp |
|
|
py |
|
kt |
|
0232. Implement Queue using Stacks |
Easy |
Stack Design |
cpp |
|
|
py |
|
|
|
0233. Number of Digit One |
Hard |
Recursion Math Dynamic Programming |
cpp |
|
|
|
|
|
|
0235. Lowest Common Ancestor of a Binary Search Tree |
Easy |
Tree |
|
java |
|
|
|
|
|
0237. Delete Node in a Linked List |
Easy |
Linked List |
cpp |
|
|
|
go |
|
|
0240. Search a 2D Matrix II |
Medium |
Array Binary Search Divide and Conquer Matrix |
cpp |
|
|
|
|
|
|
0241. Different Ways to Add Parentheses |
Medium |
Divide and Conquer |
|
|
|
|
|
kt |
|
0242. Valid Anagram |
Easy |
Hash Table Sort |
|
|
|
|
|
kt |
|
0257. Binary Tree Paths |
Easy |
Tree Depth-first Search |
|
|
|
|
|
kt |
|
0258. Add Digits |
Easy |
Math |
cpp |
|
|
py |
|
kt |
|
0260. Single Number III |
Medium |
Bit Manipulation |
cpp |
java |
|
|
|
kt |
|
0263. Ugly Number |
Easy |
Math |
cpp |
|
|
py |
|
kt |
|
0264. Ugly Number II |
Medium |
Heap Math Dynamic Programming |
cpp |
|
|
py |
|
|
|
0268. Missing Number |
Easy |
Array Math Bit Manipulation |
cpp |
|
|
|
|
kt |
|
0273. Integer to English Words |
Hard |
Math String |
cpp |
|
|
|
|
|
|
0278. First Bad Version |
Easy |
Binary Search |
cpp |
|
|
py |
|
|
|
0279. Perfect Squares |
Medium |
Math Dynamic Programming Breadth-first Search |
cpp |
|
|
py |
|
kt |
|
0282. Expression Add Operators |
Hard |
Math String Backtracking |
cpp |
|
|
|
|
|
|
0283. Move Zeroes |
Easy |
Array Two Pointers |
|
java |
js |
py |
|
kt |
|
0284. Peeking Iterator |
Medium |
Array Design |
cpp |
|
|
|
|
|
|
0287. Find the Duplicate Number |
Medium |
Array Two Pointers Binary Search |
cpp |
|
|
|
|
|
|
0290. Word Pattern |
Easy |
Hash Table |
cpp |
|
|
py |
|
|
|
0292. Nim Game |
Easy |
Brainteaser Math Game Theory |
cpp |
java |
js |
py |
go |
kt |
|
0295. Find Median from Data Stream |
Hard |
Heap Design |
cpp |
|
|
py |
|
|
|
0299. Bulls and Cows |
Medium |
String Hash Table |
cpp |
|
|
|
|
|
|
0300. Longest Increasing Subsequence |
Medium |
Binary Search Dynamic Programming |
cpp |
|
|
py |
|
kt |
|
0301. Remove Invalid Parentheses |
Hard |
Backtracking String Depth-first Search |
cpp |
|
|
|
|
|
|
0303. Range Sum Query - Immutable |
Easy |
Dynamic Programming |
cpp |
|
|
py |
|
|
|
0304. Range Sum Query 2D - Immutable |
Medium |
Dynamic Programming |
cpp |
|
|
py |
|
|
|
0306. Additive Number |
Medium |
Backtracking String |
cpp |
|
|
|
|
|
|
0307. Range Sum Query - Mutable |
Medium |
Design Binary Indexed Tree Segment Tree Array |
cpp |
|
|
|
|
|
|
0309. Best Time to Buy and Sell Stock with Cooldown |
Medium |
Array Dynamic Programming |
|
|
|
py |
|
|
|
0310. Minimum Height Trees |
Medium |
Breadth-first Search Depth-first Search Graph Topological Sort |
cpp |
|
|
py |
|
|
|
0316. Remove Duplicate Letters |
Medium |
Stack Greedy String |
cpp |
|
|
|
|
|
|
0318. Maximum Product of Word Lengths |
Medium |
Array String Bit Manipulation |
cpp |
|
|
|
|
|
|
0322. Coin Change |
Medium |
Dynamic Programming |
cpp |
|
|
py |
|
kt |
|
0326. Power of Three |
Easy |
Math |
cpp |
|
|
|
|
kt |
|
0329. Longest Increasing Path in a Matrix |
Hard |
Dynamic Programming Binary Search Tree Breadth-first Search Depth-first Search Graph Topological Sort |
cpp |
|
|
py |
|
|
|
0331. Verify Preorder Serialization of a Binary Tree |
Medium |
Stack |
cpp |
|
|
py |
|
|
|
0334. Increasing Triplet Subsequence |
Medium |
Array Greedy |
cpp |
|
|
|
|
|
|
0338. Counting Bits |
Medium |
Bit Manipulation Dynamic Programming |
cpp |
|
|
py |
|
|
|
0341. Flatten Nested List Iterator |
Medium |
Stack Design |
cpp |
|
|
|
|
|
|
0342. Power of Four |
Easy |
Bit Manipulation |
cpp |
|
|
py |
|
kt |
|
0343. Integer Break |
Medium |
Math Dynamic Programming |
|
|
|
py |
|
kt |
|
0344. Reverse String |
Easy |
Two Pointers String |
|
|
|
|
|
kt |
|
0345. Reverse Vowels of a String |
Easy |
Two Pointers String |
cpp |
|
|
|
|
kt |
|
0347. Top K Frequent Elements |
Medium |
Hash Table Heap |
|
|
|
|
|
kt |
|
0349. Intersection of Two Arrays |
Easy |
Sort Hash Table Two Pointers Binary Search |
|
|
|
|
|
kt |
|
0350. Intersection of Two Arrays II |
Easy |
Sort Hash Table Two Pointers Binary Search |
|
|
|
|
|
kt |
|
0352. Data Stream as Disjoint Intervals |
Hard |
Design Binary Search Heap Ordered Set |
cpp |
|
|
|
|
|
|
0354. Russian Doll Envelopes |
Hard |
Binary Search Dynamic Programming |
cpp |
|
|
py |
|
|
|
0357. Count Numbers with Unique Digits |
Medium |
Backtracking Dynamic Programming Math |
cpp |
|
|
py |
|
|
|
0363. Max Sum of Rectangle No Larger Than K |
Hard |
Queue Binary Search Dynamic Programming |
|
|
|
|
|
|
|
0365. Water and Jug Problem |
Medium |
Math |
cpp |
|
|
py |
go |
|
|
0367. Valid Perfect Square |
Easy |
Binary Search Math |
cpp |
|
|
|
|
|
|
0368. Largest Divisible Subset |
Medium |
Math Dynamic Programming |
cpp |
|
|
py |
|
|
|
0371. Sum of Two Integers |
Easy |
Bit Manipulation |
cpp |
java |
|
|
|
kt |
|
0372. Super Pow |
Medium |
Math |
cpp |
java |
|
|
|
kt |
|
0373. Find K Pairs with Smallest Sums |
Medium |
Array Heap |
cpp |
|
|
|
|
|
|
0374. Guess Number Higher or Lower |
Easy |
Binary Search |
cpp |
|
|
py |
|
|
|
0376. Wiggle Subsequence |
Medium |
Array Dynamic Programming Greedy |
|
|
|
py |
|
|
|
0377. Combination Sum IV |
Medium |
Dynamic Programming |
cpp |
|
|
py |
|
|
|
0380. Insert Delete GetRandom O(1) |
Medium |
Array Design Hash Table Math Randomized |
cpp |
|
|
|
|
|
|
0382. Linked List Random Node |
Medium |
Linked List Math |
cpp |
|
|
py |
|
|
|
0383. Ransom Note |
Easy |
String Hash Table |
cpp |
|
|
|
|
|
|
0384. Shuffle an Array |
Medium |
Array Math |
cpp |
|
|
py |
|
|
|
0385. Mini Parser |
Medium |
String Stack Depth-first Search |
cpp |
|
|
|
|
|
|
0386. Lexicographical Numbers |
Medium |
Depth-first Search Trie |
cpp |
|
|
|
|
|
|
0388. Longest Absolute File Path |
Medium |
String Stack Depth-first Search |
|
|
|
py |
|
|
|
0389. Find the Difference |
Easy |
Hash Table Bit Manipulation |
cpp |
|
|
|
|
kt |
|
0390. Elimination Game |
Medium |
Math |
cpp |
|
|
py |
go |
|
|
0391. Perfect Rectangle |
Hard |
Array |
cpp |
|
|
|
|
|
|
0392. Is Subsequence |
Medium |
Binary Search Dynamic Programming Greedy |
cpp |
java |
|
py |
|
kt |
|
0393. UTF-8 Validation |
Medium |
Array Bit Manipulation |
cpp |
|
|
py |
|
|
|
0395. Longest Substring with At Least K Repeating Characters |
Medium |
Recursion Divide and Conquer Sliding Window |
cpp |
|
|
|
|
|
|
0396. Rotate Function |
Medium |
Array Dynamic Programming Math |
cpp |
|
|
py |
|
|
|
0397. Integer Replacement |
Medium |
Math Bit Manipulation |
cpp |
|
|
|
|
kt |
|
0398. Random Pick Index |
Medium |
Hash Table Math |
cpp |
|
|
py |
|
|
|
0400. Nth Digit |
Easy |
Tree Binary Search Tree Binary Tree |
cpp |
|
|
|
|
|
|
0401. Binary Watch |
Easy |
Bit Manipulation Backtracking |
cpp |
|
|
py |
|
|
|
0405. Convert a Number to Hexadecimal |
Easy |
Bit Manipulation |
cpp |
java |
|
|
|
kt |
|
0409. Longest Palindrome |
Easy |
Hash Table |
|
|
|
|
go |
|
|
0412. Fizz Buzz |
Easy |
String Math Simulation |
cpp |
|
|
py |
|
kt |
|
0413. Arithmetic Slices |
Medium |
Array Dynamic Programming |
cpp |
|
|
py |
|
|
|
0414. Third Maximum Number |
Easy |
Array |
cpp |
|
|
|
|
|
|
0415. Add Strings |
Easy |
Math |
|
|
|
|
|
kt |
|
0416. Partition Equal Subset Sum |
Medium |
Dynamic Programming |
cpp |
|
|
py |
|
kt |
|
0417. Pacific Atlantic Water Flow |
Medium |
Array Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0421. Maximum XOR of Two Numbers in an Array |
Medium |
Bit Manipulation Trie |
cpp |
|
|
|
|
|
|
0424. Longest Repeating Character Replacement |
Medium |
Two Pointers Sliding Window |
cpp |
|
|
py |
|
|
|
0429. N-ary Tree Level Order Traversal |
Medium |
Tree Breadth-first Search |
cpp |
|
|
py |
|
|
|
0430. Flatten a Multilevel Doubly Linked List |
Medium |
Linked List Depth-first Search |
cpp |
|
|
|
|
|
|
0432. All O one Data Structure |
Hard |
Hash Table Linked List Design |
cpp |
|
|
|
|
|
|
0433. Minimum Genetic Mutation |
Medium |
String Hash Table Breadth-first Search |
cpp |
|
|
py |
|
|
|
0434. Number of Segments in a String |
Easy |
String |
cpp |
|
|
|
|
|
|
0435. Non overlapping Intervals |
Medium |
Greedy |
cpp |
|
|
|
|
kt |
|
0436. Find Right Interval |
Medium |
Array Sorting Binary Search |
cpp |
|
|
|
|
|
|
0437. Path Sum III |
Easy |
Tree |
cpp |
|
|
|
|
kt |
|
0438. Find All Anagrams in a String |
Medium |
String Hash Table Sliding Window |
cpp |
|
|
py |
|
|
|
0441. Arranging Coins |
Easy |
Binary Search math |
cpp |
|
|
py |
|
|
|
0442. Find All Duplicates in an Array |
Medium |
Array |
cpp |
|
|
py |
|
|
|
0443. String Compression |
Medium |
Two Pointers String |
cpp |
|
|
|
|
|
|
0447. Number of Boomeranges |
Easy |
Hash Table |
cpp |
|
|
|
|
kt |
|
0448. Find All Numbers Disappeared in an Array |
Easy |
Array |
cpp |
|
|
py |
|
kt |
|
0449. Serialize and Deserialize BST |
Medium |
String Binary Tree Binary Search Tree Tree Breadth-first Search Depth-first Search Design |
cpp |
|
|
py |
|
|
|
0450. Delete Node in a BST |
Medium |
Binary Tree Binary Search Tree Tree |
cpp |
|
|
py |
|
|
|
0451. Sort Characters By Frequency |
Medium |
Hash Table Heap |
|
|
|
|
|
kt |
|
0453. Minimum Moves to Equal Array Elements |
Easy |
Array Math |
cpp |
java |
|
py |
|
|
|
0454. 4Sum II |
Medium |
Hash Table Binary Search |
|
|
|
|
|
kt |
|
0455. Assign Cookies |
Easy |
Greedy |
cpp |
|
|
py |
|
kt |
|
0456. 132 Pattern |
Medium |
Stack |
cpp |
|
|
py |
|
kt |
|
0457. Circular Array Loop |
Medium |
Array Hash Table Two Pointers |
cpp |
|
|
|
|
|
|
0461. Hamming Distance |
Easy |
Bit Manipulation |
cpp |
|
|
py |
|
kt |
|
0462. Minimum Moves to Equal Array Elements II |
Medium |
Array Sorting Math |
cpp |
|
|
py |
|
|
|
0464. Can I Win |
Hard |
Bit Manipulation Dynamic Programming Math Memorization Bitmask Game Theory |
cpp |
|
|
|
|
|
|
0468. Validate IP Address |
Medium |
String |
|
|
|
py |
|
|
|
0470. Implement Rand10() Using Rand7() |
Medium |
Math Rejection Sampling Probability and Statistics Randomized |
cpp |
|
|
py |
go |
|
|
0476. Number Complement |
Easy |
Bit Manipulation |
cpp |
java |
|
py |
|
kt |
|
0477. Total Hamming Distance |
Medium |
Bit Manipulation |
cpp |
|
|
py |
|
|
|
0478. Generate Random Point in a Circle |
Medium |
Math Geometry Rejection Sampling Randomized |
|
|
|
py |
|
|
|
0480. Sliding Window Median |
Hard |
Sliding Window |
cpp |
java |
|
py |
|
|
|
0482. License Key Formatting |
Easy |
String |
cpp |
|
|
|
|
|
|
0485. Max Consecutive Ones |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0492. Construct the Rectangle |
Easy |
Math |
cpp |
|
|
|
|
|
|
0494. Target Sum |
Medium |
Dynamic Programming Depth-first Search |
cpp |
|
|
|
|
|
|
0495. Teemo Attacking |
Easy |
Array |
cpp |
|
|
|
|
|
|
0496. Next Greater Element I |
Easy |
Stack |
cpp |
|
|
py |
|
|
|
0498. Diagonal Traverse |
Medium |
Array Matrix Simulation |
cpp |
|
|
py |
|
kt |
|
0500. Keyboard Row |
Easy |
Hash Table |
cpp |
|
|
|
|
kt |
|
0502. IPO |
Hard |
Greedy Array Sorting Heap |
cpp |
|
|
|
|
|
|
0503. Next Greater Element II |
Medium |
Stack |
cpp |
|
|
py |
|
|
|
0504. Base 7 |
Easy |
Math |
cpp |
|
|
py |
|
kt |
|
0506. Relative Ranks |
Easy |
Array |
cpp |
|
|
|
|
|
|
0507. Perfect Number |
Easy |
Math |
cpp |
|
|
py |
go |
|
|
0508. Most Frequent Subtree Sum |
Medium |
Hash Table Binary Tree Tree Depth-first Search |
|
|
|
py |
|
|
|
0509. Fibonacci Number |
Easy |
Array |
cpp |
java |
js |
py |
go |
kt |
|
0513. Find Bottom Left Tree Value |
Medium |
Tree Depth-first Search Breadth-first Search |
cpp |
|
|
py |
|
kt |
|
0515. Find Largest Value in Each Tree Row |
Medium |
Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0516. Longest Palindromic Subsequence |
Medium |
String Dynamic Programming |
cpp |
|
|
py |
|
|
|
0517. Super Washing Machines |
Hard |
Array Greedy |
cpp |
|
|
|
|
|
|
0518. Coin Change 2 |
Medium |
Dynamic Programming |
cpp |
|
|
py |
|
|
|
0520. Detect Capital |
Easy |
String |
cpp |
java |
|
|
|
kt |
|
0521. Longest Uncommon Subsequence I |
Easy |
String |
cpp |
|
|
py |
|
|
|
0523. Continuous Subarray Sum |
Medium |
Math Dynamic Programming |
cpp |
|
|
py |
|
|
|
0524. Longest Word in Dictionary through Deleting |
Medium |
Array Two Pointers String Sort |
cpp |
|
|
py |
|
|
|
0525. Contiguous Array |
Medium |
Hash Table |
cpp |
|
|
py |
|
|
|
0526. Beautiful Arrangement |
Medium |
Bit Manipulation Array Dynamic Programming Backtracking |
cpp |
|
|
|
|
|
|
0530. Minimum Absolute Difference in BST |
Easy |
Binary Search Tree |
cpp |
|
|
|
|
kt |
|
0532. K-diff Pairs in an Array |
Medium |
Array Sorting Binary Search Hash Table Two Pointers |
|
|
|
py |
|
|
|
0535. Encode and Decode TinyURL |
Medium |
Hash Table Design Hash Function |
|
|
|
py |
|
|
|
0537. Complex Number Multiplication |
Medium |
Math String |
cpp |
java |
|
|
|
|
|
0539. Minimum Time Difference |
Medium |
Array String Math |
cpp |
|
|
|
|
|
|
0540. Single Element in a Sorted Array |
Medium |
Array Binary Search |
cpp |
|
|
|
|
kt |
|
0541. Reverse String II |
Easy |
String |
cpp |
|
|
|
|
kt |
|
0542. 01 Matrix |
Medium |
Array Dynamic Programming Breadth-first Search |
cpp |
|
|
py |
|
|
|
0543. Diameter of Binary Tree |
Easy |
Tree |
|
|
|
|
go |
|
|
0547. Number of Provinces |
Medium |
Breadth-first Search Depth-first Search Union Find Graph |
cpp |
java |
|
py |
|
kt |
|
0551. Student Attendance Record I |
Easy |
String |
cpp |
|
|
|
|
|
|
0552. Student Attendance Record II |
Hard |
Dynamic Programming Depth-first Search |
cpp |
|
|
|
|
|
|
0553. Optimal Division |
Medium |
Array Dynamic Programming Math |
cpp |
|
|
|
|
|
|
0554. Brick Wall |
Hard |
Hash Table |
cpp |
|
|
py |
|
|
|
0560. Subarray Sum Equals K |
Medium |
Array Prefix Sum Hash Table |
cpp |
java |
|
py |
|
|
|
0561. Array Partition I |
Easy |
Array |
cpp |
|
|
py |
|
kt |
|
0566. Reshpae the Matrix |
Easy |
Array |
cpp |
|
|
py |
|
kt |
|
0567. Permutation in String |
Medium |
Two Pointers |
cpp |
|
|
py |
|
kt |
|
0572. Subtree of Another Tree |
Easy |
Tree |
cpp |
|
|
py |
|
kt |
|
0575. Distribute Candies |
Easy |
Array Hash Table |
cpp |
|
|
|
|
|
|
0576. Out of Boundary Paths |
Medium |
Dynamic Programming Depth-first Search |
cpp |
|
|
|
|
|
|
0581. Shortest Unsorted Continuous Subarray |
Medium |
Stack Greedy Array Two Pointers Sorting Monotonic Stack |
cpp |
|
|
|
|
|
|
0583. Delete Operation for Two Strings |
Medium |
String Dynamic Programming |
cpp |
|
|
py |
|
|
|
0589. N-ary Tree Preorder Traversal |
Easy |
Stack Tree Depth-first Search |
cpp |
|
|
py |
|
|
|
0590. N-ary Tree Postorder Traversal |
Easy |
Stack Tree Depth-first Search |
|
|
|
py |
|
|
|
0592. Fraction Addition and Subtraction |
Medium |
Math |
|
|
|
|
|
kt |
|
0594. Longest Harmonious Subsequence |
Easy |
Array Hash Table |
cpp |
|
|
py |
|
|
|
0598. Range Addition II |
Easy |
Array Math |
cpp |
|
|
|
go |
|
|
0599. Minimum Index Sum of Two Lists |
Easy |
Array String Hash Table |
cpp |
|
|
py |
|
|
|
0605. Can Place Flowers |
Easy |
Array |
cpp |
|
|
|
|
|
|
0606. Construct String from Binary Tree |
Easy |
Tree Binary Tree String Depth-first Search |
cpp |
|
|
|
|
|
|
0611. Valid Triangle Number |
Medium |
Array |
cpp |
|
|
|
|
kt |
|
0622. Design Circular Queue |
Medium |
Array Linked List Queue Design |
|
|
|
py |
|
|
|
0623. Add One Row to Tree |
Medium |
Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0628. Maximum Product of Three Numbers |
Easy |
Array Math |
|
|
|
py |
|
|
|
0633. Sum of Square Numbers |
Medium |
Math |
cpp |
|
|
py |
|
|
|
0636. Exclusive Time of Functions |
Medium |
Array Stack |
|
|
|
py |
|
|
|
0638. Shopping Offers |
Medium |
Bit Manipulation Array Dynamic Programming Backtracking |
cpp |
|
|
|
|
|
|
0639. Decode Ways II |
Hard |
String Dynamic Programming |
cpp |
|
|
|
|
|
|
0640. Solve the Equation |
Medium |
String Math Simulation |
cpp |
|
|
py |
|
|
|
0641. Design Circular Deque |
Medium |
Array Linked List Queue Sort Design |
|
|
|
py |
|
|
|
0643. Maximum Average Subarray I |
Easy |
Array |
cpp |
|
|
py |
|
kt |
|
0646. Maximum Length of Pair Chain |
Medium |
Array Sorting Dynamic Programming Greedy |
cpp |
java |
|
py |
|
kt |
|
0648. Replace Words |
Medium |
Hash Table Trie |
|
|
|
|
|
kt |
|
0650. 2 Keys Keyboard |
Medium |
Math Dynamic Programming |
cpp |
java |
js |
py |
go |
kt |
|
0652. Find Duplicate Subtrees |
Medium |
Hash Table Binary Tree Tree Depth-first Search |
cpp |
|
|
|
|
|
|
0653. Two Sum IV - Input is a BST |
Easy |
Two Pointers Hash Table Binary Search Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0654. Maximum Binary Tree |
Medium |
Array Stack Binary Tree Tree Divide and Conquer |
cpp |
|
|
py |
|
|
|
0655. Print Binary Tree |
Medium |
Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0657. Robot Return to Origin |
Easy |
String |
cpp |
|
|
|
go |
|
|
0658. Find K Closest Elements |
Medium |
Array Two Pointers Sorting Binary Search Heap |
cpp |
|
|
py |
|
|
|
0661. Image Smoother |
Easy |
Array Matrix |
cpp |
|
|
|
|
|
rs |
0662. Maximum Width of Binary Tree |
Medium |
Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0665. Non-decreasing Array |
Easy |
Array |
cpp |
|
|
py |
|
kt |
|
0667. Beautiful Arrangement II |
Medium |
Array Math |
cpp |
|
|
|
|
|
|
0669. Trim a Binary Search Tree |
Medium |
Binary Tree Binary Search Tree Tree Depth-first Search |
cpp |
|
|
py |
|
|
|
0670. Maximum Swap |
Medium |
Math Greedy |
|
|
|
py |
|
|
|
0672. Bulb Switcher II |
Medium |
Bit Manipulation Math Breadth-first Search Depth-first Search |
|
|
|
py |
|
|
|
0673. Number of Longest Increasing Subsequence |
Medium |
Array Dynamic Programming |
cpp |
|
|
py |
|
|
|
0674. Longest Continuous Increasing Subsequence |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0678. Valid Parenthesis String |
Medium |
Stack Greedy String Dynamic Programming |
cpp |
|
|
|
|
|
|
0682. Baseball Game |
Easy |
Array Stack |
cpp |
|
|
py |
|
|
|
0684. Redundant Connection |
Medium |
Tree Union Find Graph |
cpp |
java |
|
py |
|
kt |
|
0686. Repeated String Match |
Medium |
String |
cpp |
|
|
py |
go |
|
|
0687. Longest Univalue Path |
Medium |
Binary Tree Tree Depth-first Search |
cpp |
|
|
py |
|
|
|
0690. Employee Importance |
Easy |
Bepth-first Search Breadth-first Search Hash Table |
cpp |
|
|
py |
|
|
|
0692. Top K Frequent Words |
Medium |
Heap Trie Hash Table |
cpp |
|
|
py |
|
|
|
0693. Binary Number with Alternating Bits |
Easy |
Bit Manipulation |
cpp |
java |
|
py |
go |
kt |
rs |
0695. Max Area of Island |
Medium |
Array Breadth-first Search Depth-first Search Union Find |
cpp |
|
|
py |
|
|
|
0697. Degree of an Array |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0698. Partition to K Equal Sum Subsets |
Medium |
Dynamic Programming Backtracking |
|
|
|
|
|
kt |
|
0700. Search in a Binary Search Tree |
Easy |
Tree Binary Search Tree Binary Tree |
cpp |
|
|
|
|
|
|
0703. Kth Largest Element in a Stream |
Easy |
Heap Design |
cpp |
|
|
py |
|
|
|
0704. Binary Search |
Easy |
Array Binary Search |
cpp |
java |
|
py |
go |
|
|
0705. Design HashSet |
Easy |
Design Hash Table |
cpp |
|
|
|
|
|
|
0706. Design HashMap |
Easy |
Design Hash Table |
cpp |
|
|
|
|
|
|
0707. Design Linked List |
Medium |
Linked List Design |
|
|
|
py |
|
|
|
0709. To Lower Case |
Easy |
String |
cpp |
|
|
py |
go |
|
|
0710. Random Pick with Blacklist |
Hard |
Hash Table Math Binary Search Sorting |
|
|
|
py |
|
|
|
0713. Subarray Product Less Than K |
Medium |
Array Sliding Window |
cpp |
|
|
py |
|
|
|
0714. Best Time to Buy and Sell Stock with Transaction Fee |
Medium |
Array Dynamic Programming Greedy |
|
|
|
py |
|
|
|
0717. 1-bit and 2-bit Characters |
Easy |
Array |
cpp |
|
|
|
|
|
|
0720. Longest Word in Dictionary |
Easy |
Trie Array String Hash Table |
cpp |
|
|
py |
go |
|
|
0721. Accounts Merge |
Medium |
Depth-first Search Union Find |
|
java |
|
|
|
kt |
|
0724. Find Pivot Index |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0725. Split Linked List in Parts |
Medium |
Linked List |
cpp |
|
|
|
|
|
|
0728. Self Dividing Numbers |
Easy |
Math |
|
|
|
py |
|
kt |
|
0729. My Calendar I |
Medium |
Design Binary Search Ordered Set |
cpp |
|
|
py |
go |
|
|
0733. Flood Fill |
Easy |
Depth-first Search |
cpp |
|
|
py |
|
kt |
|
0738. Monotone Increasing Digits |
Medium |
Greedy |
|
|
|
|
|
kt |
|
0740. Delete and Earn |
Medium |
Dynamic Programming |
cpp |
|
|
py |
go |
|
|
0743. Network Delay Time |
Medium |
Shortest Path Depth-first Search Breadth-first Search Heap Graph |
cpp |
|
|
|
|
|
|
0744. Find Smallest Letter Greater Than Target |
Easy |
Array Binary Search |
|
|
|
py |
|
|
|
0745. Prefix and Suffix Search |
Hard |
Trie |
|
|
|
|
|
kt |
|
0746. Min Cost Climbing Stairs |
Easy |
Array Dynamic Programming |
cpp |
|
|
py |
go |
|
|
0747. Largest Number At Least Twice of Others |
Easy |
Array |
cpp |
|
|
py |
go |
kt |
|
0752. Open the Lock |
Medium |
Array String Hash Table Breadth-first Search |
cpp |
|
|
py |
|
|
|
0760. Find Anagram Mappings |
Easy |
Array |
|
|
|
|
|
kt |
|
0762. Prime Number of Set Bits in Binary Representation |
Easy |
Bit Manipulation |
cpp |
|
|
py |
|
kt |
|
0765. Couples Holding Hands |
Hard |
Greedy Union Find Graph |
cpp |
|
|
py |
|
|
|
0766. Toeplitz Matrix |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0768. Max Chunks To Make Sorted II |
Hard |
Array Sorting Greedy Stack Monotonic Stack |
cpp |
java |
|
py |
|
|
|
0771. Jewels and Stones |
Easy |
Hash Table |
|
|
|
|
|
kt |
|
0777. Swap Adjacent in LR String |
Medium |
Two Pointers String |
cpp |
|
|
py |
|
|
|
0780. Reaching Points |
Hard |
Math |
cpp |
|
|
py |
go |
kt |
rs |
0781. Rabbits in Forest |
Medium |
Hash Table Math |
cpp |
|
|
py |
|
|
|
0783. Minimum Distance Between BST Nodes |
Easy |
Binary Search Tree |
cpp |
|
|
|
|
kt |
|
0784. Letter Case Permutation |
Easy |
Bit Manipulation Backtracking |
|
|
|
|
|
kt |
|
0785. Is Graph Bipartite |
Medium |
Breadth-first Search Depth-first Search Union Find Graph |
cpp |
|
|
py |
|
|
|
0788. Rotated Digits |
Easy |
String |
|
|
|
|
|
kt |
|
0789. Escape The Ghosts |
Medium |
Math |
cpp |
|
|
|
|
kt |
|
0791. Custom Sort String |
Medium |
String |
cpp |
|
|
py |
|
kt |
|
0796. Rotate String |
Easy |
String String Matching |
cpp |
|
|
py |
go |
kt |
rs |
0797. All Paths From Source to Target |
Medium |
Backtracking Breadth-first Search Depth-first Search Graph |
cpp |
|
|
py |
|
kt |
|
0802. Find Eventual Safe States |
Medium |
Breadth-first Search Depth-first Search Graph Topological Sort |
cpp |
|
|
py |
|
|
|
0804. Unique Morse Code Words |
Easy |
Array String Hash Table |
cpp |
|
|
py |
|
|
|
0806. Number of Lines To Write String |
Easy |
Array String |
cpp |
|
|
|
go |
|
rs |
0807. Max Increase to Keep City Skyline |
Medium |
Array Greedy |
cpp |
|
|
py |
|
|
|
0810. Chalkboard XOR Game |
Hard |
Math |
cpp |
|
|
py |
|
|
|
0811. Subdomain Visit Count |
Medium |
Array Counting String Hash Table |
|
|
|
py |
|
|
|
0812. Largest Triangle Area |
Easy |
Array Math Geometry |
cpp |
|
|
py |
|
|
|
0814. Binary Tree Pruning |
Medium |
Binary Tree Tree Depth-first Search |
cpp |
|
|
py |
go |
|
|
0819. Most Common Word |
Easy |
Counting String Hash Table |
cpp |
|
|
py |
|
|
|
0821. Shortest Distance to a Character |
Easy |
Array Two Pointers String |
cpp |
|
|
|
|
|
|
0824. Goat Latin |
Easy |
String |
cpp |
|
|
py |
|
|
|
0825. Friends Of Appropriate Ages |
Hard |
Array Two Pointers Binary Search |
cpp |
|
|
|
|
|
|
0832. Flipping an Image |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0836. Rectangle Overlap |
Easy |
Math |
|
|
|
py |
|
|
|
0838. Push Dominoes |
Medium |
Two Pointers String Dynamic Programming |
cpp |
|
|
|
|
|
|
0841. Keys and Rooms |
Medium |
Breadth-first Search Depth-first Search Graph |
cpp |
|
|
py |
|
|
|
0844. Backspace String Compare |
Easy |
Stack Two Pointers String Simulation |
cpp |
|
|
|
|
|
|
0846. Hand of Straights |
Medium |
Array Hash Table Greedy Sort |
cpp |
|
|
|
|
|
|
0847. Shortest Path Visiting All Nodes |
Hard |
Bit Manipulation Dynamic Programming Breadth-first Search Graph Bitmask |
cpp |
|
|
py |
|
|
|
0850. Rectangle Area II |
Hard |
Array Line Sweep Ordered Set Segment Tree |
|
|
|
py |
|
|
|
0852. Peak Index in a Mountain Array |
Easy |
Binary Search |
cpp |
|
|
py |
|
|
|
0856. Score of Parentheses |
Medium |
String Stack |
|
|
|
py |
|
|
|
0860. Lemonade Change |
Easy |
Greedy |
cpp |
|
|
|
|
|
|
0867. Transpose Matrix |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0868. Binary Gap |
Easy |
Math |
cpp |
|
|
|
|
|
|
0869. Reordered Power of 2 |
Medium |
Math Counting Sorting |
cpp |
|
|
|
|
|
|
0870. Advantage Shuffle |
Medium |
Array Two Pointers Sorting Greedy |
cpp |
|
|
py |
|
|
|
0872. Leaf-Similar Trees |
Easy |
Tree Depth-first Search |
cpp |
|
|
py |
|
|
|
0875. Koko Eating Bananas |
Medium |
Array Binary Search |
cpp |
|
|
py |
|
|
|
0876. Middle of the Linked List |
Easy |
Linked List |
|
|
|
|
go |
|
|
0883. Projection Area of 3D Shapes |
Easy |
Array Matrix Math Geometry |
|
|
|
py |
|
|
|
0884. Uncommon Words from Two Sentences |
Easy |
String Hash Table |
cpp |
|
|
py |
go |
|
|
0886. Possible Bipartition |
Medium |
Breadth-first Search Depth-first Search Union Find Graph |
cpp |
|
|
py |
|
|
|
0888. Fair Candy Swap |
Easy |
Array |
cpp |
|
|
py |
|
|
|
0890. Find and Replace Pattern |
Medium |
String |
cpp |
|
|
py |
|
|
|
0896. Monotonic Array |
Easy |
Array |
cpp |
|
|
|
|
|
|
0897. Increasing Order Search Tree |
Easy |
Tree Depth-first Search Recursion |
cpp |
|
|
py |
|
|
|
0905. Sort Array By Parity |
Easy |
Array Two Pointers Sorting |
cpp |
|
|
py |
|
|
|
0908. Smallest Range I |
Easy |
Array Math |
|
|
|
py |
|
|
|
0913. Cat and Mouse |
Hard |
Dynamic Programming Math Breadth-first Search Graph |
cpp |
|
|
|
|
|
|
0917. Reverse Only Letters |
Hard |
Two Pointers String |
cpp |
|
|
|
|
|
|
0918. Maximum Sum Circular Subarray |
Medium |
Array Dynamic Programming |
cpp |
|
|
py |
|
|
|
0921. Minimum Add to Make Parentheses Valid |
Medium |
Greedy Stack String |
cpp |
|
|
py |
|
|
|
0926. Flip String to Monotone Increasing |
Medium |
String Dynamic Programming |
|
|
|
py |
|
|
|
0929. Unique Email Addresses |
Easy |
Array String Hash Table |
cpp |
|
|
py |
|
|
|
0931. Minimum Falling Path Sum |
Medium |
Array Dynamic Programming |
|
|
|
py |
|
|
|
0933. Number of Recent Calls |
Easy |
Queue Design |
|
|
|
py |
|
|
|
0934. Shortest Bridge |
Medium |
Array Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0938. Range Sum of BST |
Easy |
Tree Depth-first Search Recursion |
cpp |
|
|
py |
|
|
|
0942. DI String Match |
Easy |
Array Two Pointers String Math Greedy |
cpp |
|
|
py |
|
|
|
0944. Delete Columns to Make Sorted |
Easy |
Array String |
cpp |
|
|
py |
|
|
|
0945. Minimum Increment to Make Array Unique |
Medium |
Array |
cpp |
|
|
py |
go |
|
|
0946. Validate Stack Sequences |
Medium |
Array Stack Simulation |
cpp |
java |
|
py |
go |
|
|
0951. Flip Equivalent Binary Trees |
Medium |
Tree |
cpp |
|
|
py |
|
|
|
0953. Verifying an Alien Dictionary |
Easy |
Array String Hash Table |
cpp |
|
|
|
|
|
|
0954. Array of Doubled Pairs |
Medium |
Greedy Array Hash Table Sorting |
cpp |
|
|
py |
|
|
|
0961. N-Repeated Element in Size 2N Array |
Easy |
Array Hash Table |
cpp |
|
|
py |
|
|
|
0965. Univalued Binary Tree |
Easy |
Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
0969. Pancake Sorting |
Medium |
Array Two Pointers Two Pointers |
cpp |
|
|
|
|
|
|
0977. Squares of a Sorted Array |
Easy |
Array Two Points |
cpp |
|
|
|
|
|
|
0978. Longest Turbulent Subarray |
Medium |
Array Dynamic Programming Sliding Windows |
cpp |
|
|
py |
|
|
|
0986. Interval List Intersections |
Medium |
Array Two Pointers |
cpp |
|
|
|
|
|
|
0989. Add to Array-Form of Integer |
Easy |
Array |
|
|
|
py |
|
|
|
0992. Subarrays with K Different Integers |
Hard |
Hash Table Two Pointers Sliding Window |
cpp |
|
|
|
|
|
|
0993. Cousins in Binary Tree |
Easy |
Tree Breadth-first Search |
cpp |
|
|
|
|
|
|
0995. Minimum Number of K Consecutive Bit Flips |
Hard |
Greedy Sliding Windows |
cpp |
|
|
py |
|
|
|
0997. Find the Town Judge |
Easy |
Graph |
cpp |
java |
|
py |
go |
|
|
0998. Maximum Binary Tree II |
Medium |
Binary Tree Tree |
cpp |
|
|
py |
|
|
|
1004. Max Consecutive Ones III |
Medium |
Two Pointers Sliding Window |
cpp |
|
|
py |
|
|
|
1005. Maximize Sum Of Array After K Negations |
Easy |
Array Greedy |
cpp |
|
|
|
|
|
|
1006. Clumsy Factorial |
Medium |
Stack Math Simulation |
cpp |
|
|
py |
|
|
|
1009. Complement of Base 10 Integer |
Easy |
Bit Manipulation |
cpp |
java |
|
py |
|
kt |
|
1011. Capacity To Ship Packages Within D Days |
Medium |
Array Binary Search |
cpp |
|
|
py |
|
|
|
1013. Partition Array Into Three Parts With Equal Sum |
Easy |
Array |
|
|
|
|
go |
|
|
1014. Best Sightseeing Pair |
Medium |
Array Dynamic Programming |
|
|
|
py |
|
|
|
1020. Number of Enclaves |
Medium |
Array Breadth-first Search Depth-first Search Union Find |
cpp |
|
|
py |
|
|
|
1021. Remove Outermost Parentheses |
Hard |
String Stack |
cpp |
|
|
py |
|
|
|
1022. Sum of Root To Leaf Binary Numbers |
Easy |
Binary Tree Tree Depth-first Search |
cpp |
|
|
py |
|
|
|
1029. Two City Scheduling |
Medium |
Greedy |
cpp |
|
|
|
|
|
|
1035. Uncrossed Lines |
Hard |
Array Dynamic Programming |
cpp |
|
|
py |
|
|
|
1036. Escape a Large Maze |
Hard |
Array Hash Table Breadth-first Search Depth-first Search |
cpp |
|
|
|
|
|
|
1037. Valid Boomerang |
Easy |
Array Math Geometry |
cpp |
|
|
py |
|
|
|
1042. Flower Planting With No Adjacent |
Medium |
Breadth-first Search Depth-first Search Graph |
cpp |
|
|
py |
|
|
|
1047. Remove All Adjacent Duplicates In String |
Easy |
Stack |
cpp |
|
|
py |
|
|
|
1051. Height Checker |
Easy |
Array Sorting Counting Sort |
|
|
|
py |
|
|
|
1052. Grumpy Bookstore Owner |
Medium |
Array Sliding Window |
cpp |
|
|
py |
|
|
|
1078. Occurrences After Bigram |
Easy |
String |
cpp |
|
|
py |
go |
|
|
1081. Smallest Subsequence of Distinct Characters |
Medium |
Stack Greedy String |
cpp |
|
|
|
|
|
|
1089. Duplicate Zeros |
Easy |
Array Two Pointers |
|
|
|
py |
|
|
|
1091. Shortest Path in Binary Matrix |
Medium |
Array Breadth-first Search |
cpp |
|
|
py |
|
|
|
1103. Distribute Candies to People |
Easy |
Math |
cpp |
java |
|
|
|
|
|
1108. Defanging an IP Address |
Easy |
String |
cpp |
|
|
py |
|
|
|
1109. Corporate Flight Bookings |
Medium |
Array `Prefix Sum |
cpp |
|
|
|
|
|
|
1128. Number of Equivalent Domino Pairs |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1129. Shortest Path with Alternating Colors |
Medium |
Breadth-first Search Graph |
cpp |
|
|
py |
|
|
|
1137. N-th Tribonacci Number |
Easy |
Memoization Math Dynamic Programming |
cpp |
java |
|
py |
go |
|
|
1143. Longest Common Subsequence |
Medium |
Dynamic Programming |
cpp |
|
|
py |
|
|
|
1154. Day of the Year |
Easy |
String Math |
cpp |
|
|
py |
go |
|
|
1160. Find Words That Can Be Formed by Characters |
Easy |
Array Hash Table |
|
|
|
|
go |
|
|
1161. Maximum Level Sum of a Binary Tree |
Medium |
Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
1162. As Far from Land as Possible |
Medium |
Array Dynamic Programming Breadth-first Search |
cpp |
|
|
py |
|
|
|
1178. Number of Valid Words for Each Puzzle |
Hard |
Hash Table Bit Manipulation |
cpp |
|
|
|
|
|
|
1184. Distance Between Bus Stops |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1185. Day of the Week |
Easy |
Math |
cpp |
|
|
py |
go |
|
|
1189. Maximum Number of Balloons |
Easy |
String Hash Table |
cpp |
|
|
|
|
|
|
1190. Reverse Substrings Between Each Pair of Parentheses |
Medium |
Stack |
cpp |
|
|
py |
|
|
|
1200. Minimum Absolute Difference |
Easy |
Array Sorting |
cpp |
|
|
py |
go |
|
|
1206. Design Skiplist |
Hard |
Design Linked List |
cpp |
|
|
|
|
|
|
1208. Get Equal Substrings Within Budget |
Medium |
Array Sliding Window |
cpp |
|
|
py |
|
|
|
1217. Minimum Cost to Move Chips to The Same Position |
Easy |
Array Math Greedy |
cpp |
|
|
py |
go |
|
|
1218. Longest Arithmetic Subsequence of Given Difference |
Medium |
Array Hash Table Dynamic Programming |
cpp |
|
|
|
|
|
|
1220. Count Vowels Permutation |
Hard |
Dynamic Programming |
cpp |
|
|
|
|
|
|
1221. Split a String in Balanced Strings |
Easy |
Greedy String Counting |
cpp |
java |
|
py |
go |
|
|
1232. Check If It Is a Straight Line |
Easy |
Array Geometry Math |
cpp |
java |
|
py |
|
|
|
1254. Number of Closed Islands |
Medium |
Array Breadth-first Search Depth-first Search Union Find |
cpp |
|
|
py |
|
|
|
1260. Shift 2D Grid |
Easy |
Array Matrix Simulation |
cpp |
|
|
py |
|
|
|
1281. Subtract the Product and Sum of Digits of an Integer |
Easy |
Math |
cpp |
java |
|
py |
go |
|
|
1282. Group the People Given the Group Size They Belong To |
Medium |
Array Hash Table |
cpp |
java |
|
py |
|
|
|
1290. Convert Binary Number in a Linked List to Integer |
Easy |
Linked List Math |
cpp |
java |
|
py |
go |
|
|
1295. Find Numbers with Even Number of Digits |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1302. Deepest Leaves Sum |
Medium |
Binary Tree Tree Breadth-first Search Depth-first Search |
|
|
|
py |
|
|
|
1305. All Elements in Two Binary Search Trees |
Medium |
Binary Search Tree Tree Breadth-first Search Depth-first Search Sorting |
|
|
|
py |
|
|
|
1306. Jump Game III |
Medium |
Array Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
1309. Decrypt String from Alphabet to Integer Mapping |
Easy |
String |
cpp |
|
|
py |
|
|
|
1310. XOR Queries of a Subarray |
Hard |
Bit Manipulation |
cpp |
|
|
py |
|
|
|
1313. Decompress Run-Length Encoded List |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1314. Matrix Block Sum |
Medium |
Array Matrix Prefix Sum |
|
|
|
py |
|
|
|
1319. Number of Operations to Make Network Connected |
Medium |
Breadth-first Search Depth-first Search Union Find Graph |
cpp |
|
|
py |
|
|
|
1331. Rank Transform of an Array |
Easy |
Array Sorting Hash Table |
cpp |
|
|
py |
go |
|
|
1337. The K Weakest Rows in a Matrix |
Easy |
Array Binary Search Matrix Sorting Heap |
cpp |
|
|
py |
go |
|
|
1342. Number of Steps to Reduce a Number to Zero |
Easy |
Bit Manipulation Math |
cpp |
|
|
py |
go |
|
|
1365. How Many Numbers Are Smaller Than the Current Number |
Easy |
Array Counting Sorting Hash Table |
cpp |
|
|
|
|
|
|
1370. Increasing Decreasing String |
Easy |
Counting String Hash Table |
cpp |
|
|
py |
|
|
|
1374. Generate a String With Characters That Have Odd Counts |
Easy |
String |
cpp |
|
|
py |
go |
|
|
1376. Time Needed to Inform All Employees |
Medium |
Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree |
Easy |
Binary Tree Tree Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
1380. Lucky Numbers in a Matrix |
Easy |
Array |
cpp |
|
|
|
|
|
|
1389. Create Target Array in the Given Order |
Easy |
Array Simulation |
cpp |
|
|
py |
|
|
|
1403. Minimum Subsequence in Non-Increasing Order |
Easy |
Array Sorting Greedy |
cpp |
|
|
py |
|
|
|
1408. String Matching in an Array |
Easy |
String String Matching |
cpp |
|
|
py |
|
|
|
1413. Minimum Value to Get Positive Step by Step Sum |
Easy |
Array Prefix Sum |
cpp |
|
|
py |
|
|
|
1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K |
Medium |
Greedy |
cpp |
|
|
|
|
|
|
1417. Reformat The String |
Easy |
String |
|
|
|
py |
|
|
|
1422. Maximum Score After Splitting a String |
Easy |
String |
cpp |
|
|
py |
|
|
|
1423. Maximum Points You Can Obtain from Cards |
Medium |
Array Dynamic Programming Sliding Window |
cpp |
|
|
py |
|
|
|
1431. Kids With the Greatest Number of Candies |
Easy |
Array |
cpp |
java |
|
py |
|
|
|
1436. Destination City |
Easy |
String Hash Table |
cpp |
|
|
|
|
|
|
1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit |
Medium |
Array Sliding Window |
cpp |
|
|
py |
|
|
|
1441. Build an Array With Stack Operations |
Medium |
Array Stack Simulation |
cpp |
|
|
py |
|
|
|
1442. Count Triplets That Can Form Two Arrays of Equal XOR |
Medium |
Array Bit Manipulation Math |
cpp |
|
|
py |
|
|
|
1446. Consecutive Characters |
Easy |
String |
cpp |
|
|
|
|
|
|
1447. Simplified Fractions |
Medium |
String Math |
cpp |
|
|
|
|
|
|
1450. Number of Students Doing Homework at a Given Time |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence |
Easy |
String String Matching |
cpp |
|
|
py |
|
|
|
1460. Make Two Arrays Equal by Reversing Sub-arrays |
Easy |
Array Sorting Hash Table |
cpp |
|
|
py |
|
|
|
1464. Maximum Product of Two Elements in an Array |
Easy |
Array |
cpp |
java |
|
py |
|
|
|
1466. Reorder Routes to Make All Paths Lead to the City Zero |
Medium |
Breadth-first Search Depth-first Search Graph |
cpp |
|
|
py |
|
|
|
1470. Shuffle the Array |
Easy |
Array |
cpp |
java |
|
py |
go |
|
|
1475. Final Prices With a Special Discount in a Shop |
Easy |
Array Stack Monotonic Stack |
cpp |
|
|
py |
|
|
|
1480. Running Sum of 1d Array |
Easy |
Array |
cpp |
|
|
|
|
|
|
1486. XOR Operation in an Array |
Easy |
Array Bit Manipulation |
cpp |
|
|
py |
|
|
|
1512. Number of Good Pairs |
Easy |
Array Counting Hash Table Math |
cpp |
|
|
py |
|
|
|
1518. Water Bottles |
Hard |
Math |
cpp |
|
|
|
|
|
|
1528. Shuffle String |
Easy |
Array String |
cpp |
|
|
py |
|
|
|
1557. Minimum Number of Vertices to Reach All Nodes |
Medium |
Graph |
cpp |
|
|
py |
|
|
|
1567. Maximum Length of Subarray With Positive Product |
Medium |
Array Dynamic Programming Greedy |
|
|
|
py |
|
|
|
1572. Matrix Diagonal Sum |
Easy |
Array Matrix |
cpp |
|
|
py |
|
|
|
1576. Replace All s to Avoid Consecutive Repeating Characters |
Easy |
String |
cpp |
|
|
|
|
|
|
1582. Special Positions in a Binary Matrix |
Easy |
Array Matrix |
cpp |
|
|
py |
|
|
|
1583. Count Unhappy Friends |
Medium |
Array Simulation |
cpp |
|
|
|
|
|
|
1584. Min Cost to Connect All Points |
Medium |
Union Find |
cpp |
|
|
py |
|
|
|
1588. Sum of All Odd Length Subarrays |
Easy |
Array Prefix Sum |
cpp |
|
|
|
|
|
|
1592. Rearrange Spaces Between Words |
Easy |
String |
|
|
|
py |
|
|
|
1598. Crawler Log Folder |
Easy |
Array String Stack |
cpp |
|
|
py |
|
|
|
1603. Design Parking System |
Easy |
Design |
cpp |
|
|
py |
|
|
|
1608. Special Array With X Elements Greater Than or Equal X |
Easy |
Array Sorting Binary Search |
cpp |
|
|
py |
|
|
|
1609. Even Odd Three |
Medium |
Binary Tree Tree Breadth-first Search |
cpp |
|
|
|
|
|
|
1614. Maximum Nesting Depth of the Parentheses |
Easy |
String Stack |
cpp |
|
|
py |
go |
|
|
1615. Maximal Network Rank |
Medium |
Graph |
cpp |
|
|
py |
|
|
|
1619. Mean of Array After Removing Some Elements |
Easy |
Array Sorting |
cpp |
|
|
py |
|
|
|
1624. Largest Substring Between Two Equal Characters |
Easy |
String Hash Table |
cpp |
|
|
py |
|
|
|
1629. Slowest Key |
Easy |
Array String |
cpp |
|
|
py |
go |
|
|
1636. Sort Array by Increasing Frequency |
Easy |
Array Sorting Hash Table |
cpp |
|
|
py |
|
|
|
1646. Get Maximum in Generated Array |
Easy |
Array Dynamic Programming |
cpp |
|
|
|
|
|
|
1652. Defuse the Bomb |
Easy |
Array |
|
|
|
py |
|
|
|
1654. Minimum Jumps to Reach Home |
Medium |
Array Dynamic Programming Breadth-first Search Depth-first Search |
cpp |
|
|
py |
|
|
|
1656. Design an Ordered Stream |
Easy |
Array Hash Table Design Data Stream |
|
|
|
py |
|
|
|
1662. Check If Two String Arrays are Equivalent |
Easy |
Array String |
cpp |
java |
|
py |
|
|
|
1672. Richest Customer Wealth |
Easy |
Array Matrix |
cpp |
|
|
py |
|
|
rs |
1678. Goal Parser Interpretation |
Easy |
String |
cpp |
|
|
py |
|
|
|
1684. Count the Number of Consistent Strings |
Easy |
Array String Hash Table Bit Manipulation |
cpp |
java |
|
py |
|
|
|
1688. Count of Matches in Tournament |
Easy |
Math |
cpp |
|
|
py |
go |
|
|
1689. Partitioning Into Minimum Number Of Deci-Binary Numbers |
Easy |
String Greedy |
cpp |
|
|
py |
|
|
|
1694. Reformat Phone Number |
Easy |
String |
|
|
|
py |
|
|
|
1704. Determine if String Halves Are Alike |
Easy |
Counting String |
|
|
|
py |
|
|
|
1710. Maximum Units on a Truck |
Easy |
Array Sorting Greedy |
cpp |
|
|
py |
|
|
|
1716. Calculate Money in Leetcode Bank |
Easy |
Math |
cpp |
|
|
|
|
|
|
1720. Decode XORed Array |
Easy |
Bit Manipulation |
cpp |
|
|
py |
|
|
|
1723. Find Minimum Time to Finish All Jobs |
Hard |
Recursion Backtracking |
cpp |
|
|
py |
|
|
|
1725. Number Of Rectangles That Can Form The Largest Square |
Easy |
Array |
cpp |
|
|
|
|
|
|
1732. Find the Highest Altitude |
Easy |
Array Prefix Sum |
cpp |
|
|
py |
go |
|
|
1734. Decode XORed Permutation |
Hard |
Bit Manipulation |
cpp |
|
|
py |
|
|
|
1738. Find Kth Largest XOR Coordinate Value |
Medium |
Array |
cpp |
|
|
|
|
|
|
1748. Sum of Unique Elements |
Easy |
Array Hash Table |
cpp |
|
|
|
|
|
|
1763. Longest Nice Substring |
Easy |
String Hash Table Bit Manipulation |
cpp |
|
|
|
|
|
|
1768. Merge Strings Alternately |
Easy |
Two Pointers String |
cpp |
|
|
py |
|
|
|
1773. Count Items Matching a Rule |
Easy |
Array String |
cpp |
|
|
py |
|
|
|
1779. Find Nearest Point That Has the Same X or Y Coordinate |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1790. Check if One String Swap Can Make Strings Equal |
Easy |
String Counting Hash Table |
cpp |
|
|
py |
|
|
|
1791. Find Center of Star Graph |
Easy |
Graph |
cpp |
|
|
|
|
|
|
1800. Maximum Ascending Subarray Sum |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1812. Determine Color of a Chessboard Square |
Easy |
String Math |
cpp |
|
|
py |
|
|
|
1816. Truncate Sentence |
Easy |
Array String |
cpp |
|
|
|
|
|
|
1822. Sign of the Product of an Array |
Easy |
Array Math |
cpp |
java |
|
py |
|
|
|
1823. Find the Winner of the Circular Game |
Medium |
Array Recursion Queue Math Simulation |
cpp |
|
|
py |
|
|
|
1827. Minimum Operations to Make the Array Increasing |
Easy |
Array Greedy |
cpp |
|
|
|
|
|
|
1828. Queries on Number of Points Inside a Circle |
Easy |
Array Math |
cpp |
|
|
py |
|
|
|
1832. Check if the Sentence Is Pangram |
Easy |
String Hash Table |
cpp |
|
|
py |
|
|
|
1844. Replace All Digits with Characters |
Easy |
String |
cpp |
|
|
|
|
|
|
1880. Check if Word Equals Summation of Two Words |
Easy |
String |
cpp |
|
|
py |
|
|
|
1894. Find the Student that Will Replace the Chalk |
Medium |
Array Binary Search Prefix Sum Simulation |
cpp |
|
|
|
|
|
|
1905. Count Sub Islands |
Medium |
Array Breadth-first Search Depth-first Search Union Find |
cpp |
|
|
py |
|
|
|
1920. Build Array from Permutation |
Easy |
Array Simulation |
cpp |
|
|
py |
|
|
|
1926. Nearest Exit from Entrance in Maze |
Medium |
Array Breadth-first Search |
cpp |
|
|
py |
|
|
|
1929. Concatenation of Array |
Easy |
Array |
cpp |
|
|
py |
|
|
|
1941. Check if All Characters Have Equal Number of Occurrences |
Easy |
Counting String Hash Table |
|
|
|
py |
|
|
|
1967. Number of Strings That Appear as Substrings in Word |
Easy |
String |
cpp |
|
|
py |
|
|
|
1984. Minimum Difference Between Highest and Lowest of K Scores |
Easy |
Array Sorting Sliding Window |
cpp |
|
|
py |
|
|
|
1995. Count Special Quadruplets |
Easy |
Array |
cpp |
|
|
py |
go |
|
|
1996. The Number of Weak Characters in the Game |
Medium |
Array Greedy Stack |
cpp |
|
|
|
|
|
|
2000. Reverse Prefix of Word |
Easy |
Two Pointers String |
cpp |
|
|
py |
|
|
|
2006. Count Number of Pairs With Absolute Difference K |
Hard |
Array Hash Table |
cpp |
|
|
|
|
|
|
2011. Final Value of Variable After Performing Operations |
Easy |
Array String Simulation |
cpp |
|
|
py |
|
|
|
2013. Detect Squares |
Medium |
Array Hash Table |
cpp |
|
|
|
|
|
|
2016. Maximum Difference Between Increasing Elements |
Easy |
Array |
cpp |
|
|
|
|
|
|
2022. Convert 1D Array Into 2D Array |
Easy |
Array |
cpp |
|
|
py |
go |
|
|
2024. Maximize the Confusion of an Exam |
Medium |
Prefix Sum String Prefix Sum Sliding Window |
cpp |
|
|
py |
|
|
|
2027. Minimum Moves to Convert String |
Easy |
String Greedy |
cpp |
|
|
py |
|
|
|
2028. Find Missing Observations |
Medium |
Array Matrix |
cpp |
|
|
|
|
|
|
2032. Two Out of Three |
Easy |
Array Hash Table |
cpp |
|
|
py |
|
|
|
2037. Minimum Number of Moves to Seat Everyone |
Easy |
Array Sorting |
cpp |
|
|
py |
|
|
|
2038. Remove Colored Pieces if Both Neighbors are the Same Color |
Medium |
Greedy Math String |
cpp |
|
|
|
|
|
|
2039. The Time When the Network Becomes Idle |
Medium |
Array Breadth-first Search Graph |
|
|
|
py |
|
|
|
2042. Check if Numbers Are Ascending in a Sentence |
Easy |
String |
|
|
|
py |
|
|
|
2043. Simple Bank System |
Medium |
Array Hash Table Design simulation |
cpp |
|
|
py |
go |
|
rs |
2044. Count Number of Maximum Bitwise-OR Subsets |
Medium |
Array Backtracking Bit Manipulation |
cpp |
|
|
py |
|
|
|
2047. Number of Valid Words in a Sentence |
Easy |
String |
cpp |
|
|
|
|
|
|
2049. Count Nodes With the Highest Score |
Medium |
Array Binary Tree Tree Depth-first Search |
|
|
|
py |
|
|
|
2053. Kth Distinct String in an Array |
Easy |
Array Counting String Hash Table |
cpp |
|
|
py |
|
|
|
2055. Plates Between Candles |
Medium |
Array String Binary Search |
cpp |
|
|
py |
|
|
|
2089. Find Target Indices After Sorting Array |
Easy |
Array Sorting Binary Search |
cpp |
|
|
py |
|
|
|
2114. Maximum Number of Words Found in Sentences |
Easy |
Array String |
cpp |
|
|
py |
|
|
|
2160. Minimum Sum of Four Digit Number After Splitting Digits |
Easy |
Math Greedy Sorting |
cpp |
|
|
py |
|
|
|
2169. Count Operations to Obtain Zero |
Easy |
Math |
cpp |
|
|
|
|
|
|
2180. Count Integers With Even Digit Sum |
Easy |
Math Simulation |
cpp |
|
|
|
|
|
|
2181. Merge Nodes in Between Zeros |
Medium |
Linked List Simulation |
cpp |
|
|
|
|
|
|
2182. Construct String With Repeat Limit |
Medium |
Greedy String Counting Heap |
cpp |
|
|
|
|
|
|
2183. Count Array Pairs Divisible by K |
Hard |
Array Math Number Theory |
cpp |
|
|
|
|
|
|
2185. Counting Words With a Given Prefix |
Easy |
Array String |
cpp |
|
|
py |
|
|
|
2210. Count Hills and Valleys in an Array |
Easy |
Array |
|
|
|
py |
|
|
|
2215. Find the Difference of Two Arrays |
Easy |
Array Hash Table |
|
|
|
py |
|
|
|
2216. Minimum Deletions to Make Array Beautiful |
Medium |
Array Greedy Stack |
|
|
|
py |
|
|
|
2217. Find Palindrome With Fixed Length |
Medium |
Array Math |
|
|
|
py |
|
|
|
2220. Minimum Bit Flips to Convert Number |
Easy |
Bit Manipulation |
cpp |
|
|
py |
|
|
|
2224. Minimum Number of Operations to Convert Time |
Easy |
String Greedy |
|
|
|
py |
|
|
|
2225. Find Players With Zero or One Losses |
Medium |
Array Hash Table Counting Sorting |
|
|
|
py |
|
|
|
2235. Add Two Integers |
Easy |
Math |
cpp |
java |
js |
py |
go |
kt |
rs |
2236. Root Equals Sum of Children |
Easy |
Binary Tree Tree |
cpp |
|
|
py |
|
|
|
2278. Percentage of Letter in String |
Easy |
String |
cpp |
|
|
py |
|
|
|
2283. Check if Number Has Equal Digit Count and Digit Value |
Easy |
Counting String Hash Table |
cpp |
|
|
py |
|
|
|
2287. Rearrange Characters to Make Target String |
Easy |
Counting String Hash Table |
cpp |
|
|
py |
|
|
|
2288. Apply Discount to Prices |
Medium |
String |
|
|
|
py |
|
|
|
2290. Minimum Obstacle Removal to Reach Corner |
Hard |
Array Breadth-first Search Graph Matrix Shortest Path |
|
|
|
py |
|
|
|
2293. Min Max Game |
Easy |
Array Simulation |
cpp |
|
|
py |
|
|
|
2303. Calculate Amount Paid in Taxes |
Easy |
Array Simulation |
|
|
|
py |
|
|
|
2309. Greatest English Letter in Upper and Lower Case |
Easy |
String Hash Table |
cpp |
|
|
py |
|
|
|
2315. Count Asterisks |
Easy |
String |
cpp |
java |
|
py |
go |
|
|
2319. Check if Matrix Is X-Matrix |
Easy |
Array Matrix |
cpp |
|
|
py |
|
|
|
2325. Decode the Message |
Medium |
String Hash Table |
|
|
|
py |
|
|
|
2331. Evaluate Boolean Binary Tree |
Easy |
Binary Tree Tree Depth-first Search |
cpp |
|
|
py |
|
|
|
2335. Minimum Amount of Time to Fill Cups |
Easy |
Array Sorting Greedy Heap |
cpp |
|
|
py |
go |
|
|
2341. Maximum Number of Pairs in Array |
Easy |
Array Counting Hash Table |
cpp |
|
|
py |
|
|
|
2347. Best Poker Hand |
Easy |
Array Counting Hash Table |
cpp |
|
|
py |
|
|
|
2351. First Letter to Appear Twice |
Easy |
Counting String Hash Table |
cpp |
|
|
py |
|
|
|
2357. Make Array Zero by Subtracting Equal Amounts |
Easy |
Array Sorting Hash Table Greedy Heap Simulation |
cpp |
java |
|
py |
go |
|
|
2363. Merge Similar Items |
Easy |
Array Sorting Hash Table |
cpp |
|
|
py |
|
|
|
2367. Number of Arithmetic Triplets |
Easy |
Array Two Pointers Hash Table |
cpp |
|
|
py |
|
|
|
2373. Largest Local Values in a Matrix |
Easy |
Array Matrix |
cpp |
java |
|
py |
go |
|
|
2379. Minimum Recolors to Get K Consecutive Black Blocks |
Easy |
String Sliding Window |
cpp |
|
|
py |
|
|
|
2396. Strictly Palindromic Number |
Medium |
Two Pointers Math |
cpp |
|
|
py |
|
|
|
2413. Smallest Even Multiple |
Easy |
Math |
cpp |
|
|
py |
|
|
|
2418. Sort the People |
Easy |
Array String Sorting Hash Table |
|
|
|
py |
|
|
|
2469. Convert the Temperature |
Easy |
Math |
cpp |
|
|
py |
|
|
|
2485. Find the Pivot Integer |
Easy |
Prefix Sum Math |
cpp |
|
|
py |
|
|
|
2490. Circular Sentence |
Easy |
String |
cpp |
|
|
py |
|
|
|
2496. Maximum Value of a String in an Array |
Easy |
Array String |
|
|
|
py |
|
|
|
2500. Delete Greatest Value in Each Row |
Easy |
Array Matrix Sorting |
cpp |
|
|
py |
|
|
|
2520. Count the Digits That Divide a Number |
Easy |
Math |
cpp |
|
|
py |
|
|
|
2529. Maximum Count of Positive Integer and Negative Integer |
Easy |
Array Counting Binary Search |
cpp |
|
|
py |
|
|
|
2535. Difference Between Element Sum and Digit Sum of an Array |
Easy |
Array Math |
cpp |
java |
|
py |
go |
|
|
2544. Alternating Digit Sum |
Easy |
Math |
cpp |
|
|
py |
go |
|
|
2553. Separate the Digits in an Array |
Easy |
Array Simulation |
cpp |
|
|
py |
|
|
|
2574. Left and Right Sum Differences |
Easy |
Array Prefix Sum |
cpp |
java |
|
py |
go |
|
|