| 1 |
Easy |
Two Sum |
Two Sum.java |
| 2 |
Medium |
Add Two Numbers |
Add Two Numbers.java |
| 3 |
Medium |
Longest Substring Without Repeating Characters |
Longest Substring Without Repeating Characters.java |
| 4 |
Hard |
Median of Two Sorted Arrays |
Median of Two Sorted Arrays.java |
| 5 |
Medium |
Longest Palindromic Substring |
Longest Palindromic Substring.java |
| 7 |
Medium |
Reverse Integer |
Reverse Integer.java |
| 8 |
Medium |
String to Integer |
String to Integer.java |
| 9 |
Easy |
Palindrome Number |
Palindrome Number.java |
| 10 |
Undefined |
Regular Expression Matching |
Regular Expression Matching.java |
| 11 |
Medium |
Container With Most Water |
Container With Most Water.java |
| 12 |
Medium |
Integer to Roman |
Integer to Roman.java |
| 13 |
Easy |
Roman to Integer |
Roman to Integer.java |
| 14 |
Undefined |
Longest Common Prefix |
Longest Common Prefix.java |
| 15 |
Undefined |
3Sum |
3Sum.java |
| 16 |
Medium |
3Sum Closest |
3Sum Closest.java |
| 17 |
Medium |
Letter Combinations of a Phone Number |
Letter Combinations of a Phone Number.java |
| 18 |
Medium |
4Sum |
4Sum.java |
| 19 |
Medium |
Remove Nth Node From End of List |
Remove Nth Node From End of List.java |
| 20 |
Easy |
Valid Parentheses |
Valid Parentheses.java |
| 21 |
Easy |
Merge Two Sorted Lists |
Merge Two Sorted Lists.java |
| 22 |
Medium |
Generate Parentheses |
Generate Parentheses.java |
| 23 |
Hard |
Merge k Sorted Lists |
Merge k Sorted Lists.java |
| 24 |
Medium |
Swap Nodes in Pairs |
Swap Nodes in Pairs.java |
| 25 |
Hard |
Reverse Nodes in k-Group |
Reverse Nodes in k-Group.java |
| 26 |
Undefined |
Remove Duplicates from Sorted Array |
Remove Duplicates from Sorted Array.java |
| 27 |
Easy |
Remove Element |
Remove Element.java |
| 28 |
Undefined |
Implement strStr() |
Implement strStr().java |
| 29 |
Medium |
Divide Two Integers |
Divide Two Integers.java |
| 30 |
Undefined |
Substring with Concatenation of All Words |
Substring with Concatenation of All Words.java |
| 31 |
Medium |
Next Permutation |
Next Permutation.java |
| 32 |
Hard |
Longest Valid Parentheses |
Longest Valid Parentheses.java |
| 33 |
Medium |
Search in Rotated Sorted Array |
Search in Rotated Sorted Array.java |
| 34 |
Medium |
Find First and Last Position of Element in Sorted Array |
Find First and Last Position of Element in Sorted Array.java |
| 35 |
Easy |
Search Insert Position |
Search Insert Position.java |
| 36 |
Medium |
Valid Sudoku |
Valid Sudoku.java |
| 37 |
Hard |
Sudoku Solver |
Sudoku Solver.java |
| 38 |
Undefined |
Count and Say |
Count and Say.java |
| 39 |
Undefined |
Combination Sum |
Combination Sum.java |
| 41 |
Hard |
First Missing Positive |
First Missing Positive.java |
| 42 |
Hard |
Trapping Rain Water |
Trapping Rain Water.java |
| 43 |
Medium |
Multiply Strings |
Multiply Strings.java |
| 44 |
Hard |
Wildcard Matching |
Wildcard Matching.java |
| 45 |
Medium |
Jump Game II |
Jump Game II.java |
| 46 |
Undefined |
Permutations |
Permutations.java |
| 47 |
Medium |
Permutations II |
Permutations II.java |
| 48 |
Medium |
Rotate Image |
Rotate Image.java |
| 49 |
Medium |
Group Anagrams |
Group Anagrams.java |
| 50 |
Medium |
Pow(x, n) |
Pow(x, n).java |
| 51 |
Hard |
N-Queens |
N-Queens.java |
| 52 |
Hard |
N-Queens II |
N-Queens II.java |
| 53 |
Easy |
Maximum Subarray |
Maximum Subarray.java |
| 54 |
Medium |
Spiral Matrix |
Spiral Matrix.java |
| 55 |
Medium |
Jump Game |
Jump Game.java |
| 56 |
Medium |
Merge Intervals |
Merge Intervals.java |
| 57 |
Undefined |
Insert Interval |
Insert Interval.java |
| 58 |
Undefined |
Length of Last Word |
Length of Last Word.java |
| 59 |
Medium |
Spiral Matrix II |
Spiral Matrix II.java |
| 60 |
Undefined |
Permutation Sequence |
Permutation Sequence.java |
| 61 |
Medium |
Rotate List |
Rotate List.java |
| 62 |
Medium |
Unique Paths |
Unique Paths.java |
| 63 |
Medium |
Unique Paths II |
Unique Paths II.java |
| 64 |
Undefined |
Minimum Path Sum |
Minimum Path Sum.java |
| 65 |
Hard |
Valid Number |
Valid Number.java |
| 66 |
Easy |
Plus One |
Plus One.java |
| 67 |
Easy |
Add Binary |
Add Binary.java |
| 69 |
Easy |
Sqrt(x) |
Sqrt(x).java |
| 70 |
Easy |
Climbing Stairs |
Climbing Stairs.java |
| 71 |
Medium |
Simplify Path |
Simplify Path.java |
| 72 |
Undefined |
Edit Distance |
Edit Distance.java |
| 73 |
Medium |
Set Matrix Zeroes |
Set Matrix Zeroes.java |
| 74 |
Medium |
Search a 2D Matrix |
Search a 2D Matrix.java |
| 75 |
Medium |
Sort Colors |
Sort Colors.java |
| 76 |
Hard |
Minimum Window Substring |
Minimum Window Substring.java |
| 78 |
Medium |
Subsets |
Subsets.java |
| 79 |
Medium |
Word Search |
Word Search.java |
| 80 |
Medium |
Remove Duplicates from Sorted Array II |
Remove Duplicates from Sorted Array II.java |
| 81 |
Medium |
Search in Rotated Sorted Array II |
Search in Rotated Sorted Array II.java |
| 82 |
Medium |
Remove Duplicates from Sorted List II |
Remove Duplicates from Sorted List II.java |
| 84 |
Hard |
Largest Rectangle in Histogram |
Largest Rectangle in Histogram.java |
| 85 |
Hard |
Maximal Rectangle |
Maximal Rectangle.java |
| 86 |
Medium |
Partition List |
Partition List.java |
| 87 |
Undefined |
Scramble String |
Scramble String.java |
| 88 |
Easy |
Merge Sorted Array |
Merge Sorted Array.java |
| 89 |
Medium |
Gray Code |
Gray Code.java |
| 90 |
Medium |
Subsets II |
Subsets II.java |
| 91 |
Medium |
Decode Ways |
Decode Ways.java |
| 92 |
Medium |
Reverse Linked List II |
Reverse Linked List II.java |
| 93 |
Undefined |
Restore IP Addresses |
Restore IP Addresses.java |
| 94 |
Easy |
Binary Tree Inorder Traversal |
Binary Tree Inorder Traversal.java |
| 95 |
Medium |
Unique Binary Search Trees II |
Unique Binary Search Trees II.java |
| 96 |
Medium |
Unique Binary Search Trees |
Unique Binary Search Trees.java |
| 97 |
Medium |
Interleaving String |
Interleaving String.java |
| 98 |
Medium |
Validate Binary Search Tree |
Validate Binary Search Tree.java |
| 99 |
Medium |
Recover Binary Search Tree |
Recover Binary Search Tree.java |
| 101 |
Undefined |
Symmetric Tree |
Symmetric Tree.java |
| 102 |
Medium |
Binary Tree Level Order Traversal |
Binary Tree Level Order Traversal.java |
| 103 |
Undefined |
Binary Tree Zigzag Level Order Traversal |
Binary Tree Zigzag Level Order Traversal.java |
| 104 |
Easy |
Maximum Depth of Binary Tree |
Maximum Depth of Binary Tree.java |
| 105 |
Medium |
Construct Binary Tree from Preorder and Inorder Traversal |
Construct Binary Tree from Preorder and Inorder Traversal.java |
| 106 |
Medium |
Construct Binary Tree from Inorder and Postorder Traversal |
Construct Binary Tree from Inorder and Postorder Traversal.java |
| 107 |
Medium |
Binary Tree Level Order Traversal II |
Binary Tree Level Order Traversal II.java |
| 108 |
Easy |
Convert Sorted Array to Binary Search Tree |
Convert Sorted Array to Binary Search Tree.java |
| 109 |
Medium |
Convert Sorted List to Binary Search Tree |
Convert Sorted List to Binary Search Tree.java |
| 110 |
Easy |
Balanced Binary Tree |
Balanced Binary Tree.java |
| 111 |
Undefined |
Minimum Depth of Binary Tree |
Minimum Depth of Binary Tree.java |
| 113 |
Medium |
Path Sum II |
Path Sum II.java |
| 114 |
Medium |
Flatten Binary Tree to Linked List |
Flatten Binary Tree to Linked List.java |
| 115 |
Hard |
Distinct Subsequences |
Distinct Subsequences.java |
| 116 |
Undefined |
Populating Next Right Pointers in Each Node |
Populating Next Right Pointers in Each Node.java |
| 117 |
Medium |
Populating Next Right Pointers in Each Node II |
Populating Next Right Pointers in Each Node II.java |
| 118 |
Easy |
Pascal's Triangle |
Pascal's Triangle.java |
| 119 |
Undefined |
Pascal's tasks.Triangle II |
Pascal's tasks.Triangle II.java |
| 120 |
Medium |
Triangle |
Triangle.java |
| 121 |
Easy |
Best Time to Buy and Sell Stock |
Best Time to Buy and Sell Stock.java |
| 122 |
Medium |
Best Time to Buy and Sell Stock II |
Best Time to Buy and Sell Stock II.java |
| 123 |
Hard |
Best Time to Buy and Sell Stock III |
Best Time to Buy and Sell Stock III.java |
| 124 |
Hard |
Binary Tree Maximum Path Sum |
Binary Tree Maximum Path Sum.java |
| 125 |
Undefined |
Valid Palindrome |
Valid Palindrome.java |
| 126 |
Undefined |
Word Ladder II |
Word Ladder II.java |
| 127 |
Hard |
Word Ladder |
Word Ladder.java |
| 128 |
Undefined |
Longest Consecutive Sequence |
Longest Consecutive Sequence.java |
| 129 |
Medium |
Sum Root to Leaf Numbers |
Sum Root to Leaf Numbers.java |
| 130 |
Medium |
Surrounded Regions |
Surrounded Regions.java |
| 131 |
Medium |
Palindrome Partitioning |
Palindrome Partitioning.java |
| 132 |
Hard |
Palindrome Partitioning II |
Palindrome Partitioning II.java |
| 133 |
Medium |
Clone Graph |
Clone Graph.java |
| 134 |
Medium |
Gas Station |
Gas Station.java |
| 135 |
Hard |
Candy |
Candy.java |
| 136 |
Easy |
Single Number |
Single Number.java |
| 138 |
Medium |
Copy List with Random Pointer |
Copy List with Random Pointer.java |
| 139 |
Undefined |
Word Break |
Word Break.java |
| 140 |
Hard |
Word Break |
Word Break.java |
| 141 |
Easy |
Linked List Cycle |
Linked List Cycle.java |
| 142 |
Medium |
Linked List Cycle II |
Linked List Cycle II.java |
| 143 |
Medium |
Reorder List |
Reorder List.java |
| 144 |
Undefined |
Binary Tree Preorder Traversal |
Binary Tree Preorder Traversal.java |
| 146 |
Medium |
LRU Cache |
LRU Cache.java |
| 147 |
Medium |
Insertion Sort List |
Insertion Sort List.java |
| 148 |
Medium |
Sort List |
Sort List.java |
| 150 |
Medium |
Evaluate Reverse Polish Notation |
Evaluate Reverse Polish Notation.java |
| 151 |
Medium |
Reverse Words in a String |
Reverse Words in a String.java |
| 152 |
Medium |
Maximum Product Subarray |
Maximum Product Subarray.java |
| 153 |
Medium |
Find Minimum in Rotated Sorted Array |
Find Minimum in Rotated Sorted Array.java |
| 154 |
Hard |
Find Minimum in Rotated Sorted Array II |
Find Minimum in Rotated Sorted Array II.java |
| 155 |
Easy |
Min Stack |
Min Stack.java |
| 160 |
Easy |
Intersection of Two Linked Lists |
Intersection of Two Linked Lists.java |
| 162 |
Medium |
Find Peak Element |
Find Peak Element.java |
| 164 |
Undefined |
Maximum Gap |
Maximum Gap.java |
| 165 |
Medium |
Compare Version Numbers |
Compare Version Numbers.java |
| 167 |
Undefined |
Two Sum II - Input array is sorted |
Two Sum II - Input array is sorted.java |
| 168 |
Undefined |
Excel Sheet Column Title |
Excel Sheet Column Title.java |
| 169 |
Easy |
Majority Element |
Majority Element.java |
| 171 |
Easy |
Excel Sheet Column Number |
Excel Sheet Column Number.java |
| 172 |
Medium |
Factorial Trailing Zeroes |
Factorial Trailing Zeroes.java |
| 173 |
Medium |
Binary Search Tree Iterator |
Binary Search Tree Iterator.java |
| 174 |
Hard |
Dungeon Game |
Dungeon Game.java |
| 179 |
Undefined |
Largest Number |
Largest Number.java |
| 187 |
Undefined |
Repeated DNA Sequences |
Repeated DNA Sequences.java |
| 188 |
Hard |
Best Time to Buy and Sell Stock IV |
Best Time to Buy and Sell Stock IV.java |
| 189 |
Medium |
Rotate Array |
Rotate Array.java |
| 190 |
Undefined |
Reverse Bits |
Reverse Bits.java |
| 191 |
Easy |
Number of 1 Bits |
Number of 1 Bits.java |
| 198 |
Medium |
House Robber |
House Robber.java |
| 199 |
Medium |
Binary Tree Right Side View |
Binary Tree Right Side View.java |
| 200 |
Medium |
Number of Islands |
Number of Islands.java |
| 201 |
Medium |
Bitwise AND of Numbers Range |
Bitwise AND of Numbers Range.java |
| 202 |
Undefined |
Happy Number |
Happy Number.java |
| 203 |
Easy |
Remove Linked List Elements |
Remove Linked List Elements.java |
| 204 |
Easy |
Count Primes |
Count Primes.java |
| 205 |
Easy |
Isomorphic Strings |
Isomorphic Strings.java |
| 206 |
Easy |
Reverse Linked List |
Reverse Linked List.java |
| 207 |
Medium |
Course Schedule |
Course Schedule.java |
| 208 |
Undefined |
Implement Trie (Prefix Tree) |
Implement Trie (Prefix Tree).java |
| 209 |
Undefined |
Minimum Size Subarray Sum |
Minimum Size Subarray Sum.java |
| 210 |
Undefined |
Course Schedule II |
Course Schedule II.java |
| 211 |
Medium |
Design Add and Search Words Data Structure |
Design Add and Search Words Data Structure.java |
| 212 |
Hard |
Word Search II |
Word Search II.java |
| 213 |
Undefined |
House Robber II |
House Robber II.java |
| 214 |
Hard |
Shortest Palindrome |
Shortest Palindrome.java |
| 215 |
Easy |
Kth Largest Element in an Array |
Kth Largest Element in an Array.java |
| 216 |
Medium |
Combination Sum III |
Combination Sum III.java |
| 217 |
Easy |
Contains Duplicate |
Contains Duplicate.java |
| 218 |
Hard |
The Skyline Problem |
The Skyline Problem.java |
| 219 |
Undefined |
Contains Duplicate II |
Contains Duplicate II.java |
| 220 |
Undefined |
Contains Duplicate III |
Contains Duplicate III.java |
| 221 |
Medium |
Maximal Square |
Maximal Square.java |
| 222 |
Medium |
Count Complete Tree Nodes |
Count Complete Tree Nodes.java |
| 223 |
Medium |
Rectangle Area |
Rectangle Area.java |
| 224 |
Hard |
Basic Calculator |
Basic Calculator.java |
| 225 |
Undefined |
Implement Stack using Queues |
Implement Stack using Queues.java |
| 226 |
Easy |
Invert Binary Tree |
Invert Binary Tree.java |
| 227 |
Medium |
Basic Calculator II |
Basic Calculator II.java |
| 228 |
Easy |
Summary Ranges |
Summary Ranges.java |
| 229 |
Undefined |
Majority Element II |
Majority Element II.java |
| 230 |
Medium |
Kth Smallest Element in a BST |
Kth Smallest Element in a BST.java |
| 231 |
Easy |
Power of Two |
Power of Two.java |
| 232 |
Undefined |
Implement Queue using Stacks |
Implement Queue using Stacks.java |
| 234 |
Easy |
Palindrome Linked List |
Palindrome Linked List.java |
| 235 |
Easy |
Lowest Common Ancestor of a Binary Search Tree |
Lowest Common Ancestor of a Binary Search Tree.java |
| 236 |
Medium |
Lowest Common Ancestor of a Binary Tree |
Lowest Common Ancestor of a Binary Tree.java |
| 237 |
Undefined |
Delete Node in a Linked List |
Delete Node in a Linked List.java |
| 238 |
Undefined |
Product of Array Except Self |
Product of Array Except Self.java |
| 239 |
Hard |
Sliding Window Maximum |
Sliding Window Maximum.java |
| 240 |
Medium |
Search a 2D Matrix II |
Search a 2D Matrix II.java |
| 241 |
Undefined |
Different Ways to Add Parentheses |
Different Ways to Add Parentheses.java |
| 242 |
Easy |
Valid Anagram |
Valid Anagram.java |
| 257 |
Easy |
Binary Tree Paths |
Binary Tree Paths.java |
| 258 |
Easy |
Add Digits |
Add Digits.java |
| 260 |
Medium |
Single Number III |
Single Number III.java |
| 263 |
Undefined |
Ugly Number |
Ugly Number.java |
| 264 |
Medium |
Ugly Number II |
Ugly Number II.java |
| 268 |
Easy |
Missing Number |
Missing Number.java |
| 274 |
Medium |
H-Index |
H-Index.java |
| 275 |
Medium |
H-Index II |
H-Index II.java |
| 278 |
Undefined |
First Bad Version |
First Bad Version.java |
| 279 |
Medium |
Perfect Squares |
Perfect Squares.java |
| 282 |
Undefined |
Expression Add Operators |
Expression Add Operators.java |
| 283 |
Easy |
Move Zeroes |
Move Zeroes.java |
| 284 |
Medium |
Peeking Iterator |
Peeking Iterator.java |
| 287 |
Undefined |
Find the Duplicate Number |
Find the Duplicate Number.java |
| 289 |
Medium |
Game of Life |
Game of Life.java |
| 290 |
Medium |
Word Pattern |
Word Pattern.java |
| 292 |
Undefined |
Nim Game |
Nim Game.java |
| 295 |
Hard |
Find Median from Data Stream |
Find Median from Data Stream.java |
| 297 |
Hard |
Serialize and Deserialize Binary Tree |
Serialize and Deserialize Binary Tree.java |
| 299 |
Undefined |
Bulls and Cows |
Bulls and Cows.java |
| 300 |
Medium |
Longest Increasing Subsequence |
Longest Increasing Subsequence.java |
| 301 |
Hard |
Remove Invalid Parentheses |
Remove Invalid Parentheses.java |
| 303 |
Easy |
Range Sum Query - Immutable |
Range Sum Query - Immutable.java |
| 304 |
Medium |
Range Sum Query 2D - Immutable |
Range Sum Query 2D - Immutable.java |
| 306 |
Medium |
Additive Number |
Additive Number.java |
| 307 |
Medium |
Range Sum Query - Mutable |
Range Sum Query - Mutable.java |
| 309 |
Medium |
Best Time to Buy and Sell Stock with Cooldown |
Best Time to Buy and Sell Stock with Cooldown.java |
| 310 |
Medium |
Minimum Height Trees |
Minimum Height Trees.java |
| 312 |
Medium |
Burst Balloons |
Burst Balloons.java |
| 313 |
Undefined |
Super Ugly Number |
Super Ugly Number.java |
| 315 |
Undefined |
Count of Smaller Numbers After Self |
Count of Smaller Numbers After Self.java |
| 316 |
Medium |
Remove Duplicate Letters |
Remove Duplicate Letters.java |
| 318 |
Medium |
Maximum Product of Word Lengths |
Maximum Product of Word Lengths.java |
| 319 |
Undefined |
Bulb Switcher |
Bulb Switcher.java |
| 322 |
Medium |
Coin Change |
Coin Change.java |
| 325 |
Medium |
Maximum Size Subarray Sum Equals k |
Maximum Size Subarray Sum Equals k.java |
| 326 |
Easy |
Power of Three |
Power of Three.java |
| 327 |
Hard |
Count of Range Sum |
Count of Range Sum.java |
| 328 |
Medium |
Odd Even Linked List |
Odd Even Linked List.java |
| 329 |
Hard |
Longest Increasing Path in a Matrix |
Longest Increasing Path in a Matrix.java |
| 331 |
Medium |
Verify Preorder Serialization of a Binary Tree |
Verify Preorder Serialization of a Binary Tree.java |
| 332 |
Undefined |
Reconstruct Itinerary |
Reconstruct Itinerary.java |
| 334 |
Medium |
Increasing Triplet Subsequence |
Increasing Triplet Subsequence.java |
| 336 |
Hard |
Palindrome Pairs |
Palindrome Pairs.java |
| 337 |
Medium |
House Robber III |
House Robber III.java |
| 338 |
Easy |
Counting Bits |
Counting Bits.java |
| 341 |
Medium |
Flatten Nested List Iterator |
Flatten Nested List Iterator.java |
| 343 |
Undefined |
Integer Break |
Integer Break.java |
| 344 |
Easy |
Reverse String |
Reverse String.java |
| 345 |
Undefined |
Reverse Vowels of a String |
Reverse Vowels of a String.java |
| 347 |
Medium |
Top K Frequent Elements |
Top K Frequent Elements.java |
| 350 |
Medium |
Intersection of Two Arrays II |
Intersection of Two Arrays II.java |
| 352 |
Undefined |
Data Stream as Disjoint Intervals |
Data Stream as Disjoint Intervals.java |
| 354 |
Medium |
Russian Doll Envelopes |
Russian Doll Envelopes.java |
| 355 |
Undefined |
Design Twitter |
Design Twitter.java |
| 357 |
Undefined |
Count Numbers with Unique Digits |
Count Numbers with Unique Digits.java |
| 363 |
Hard |
Max Sum of Rectangle No Larger Than K |
Max Sum of Rectangle No Larger Than K.java |
| 365 |
Undefined |
Water and Jug Problem |
Water and Jug Problem.java |
| 367 |
Easy |
Valid Perfect Square |
Valid Perfect Square.java |
| 368 |
Medium |
Largest Divisible Subset |
Largest Divisible Subset.java |
| 371 |
Undefined |
Sum of Two Integers |
Sum of Two Integers.java |
| 373 |
Undefined |
Find K Pairs with Smallest Sums |
Find K Pairs with Smallest Sums.java |
| 374 |
Easy |
Guess Number Higher or Lower |
Guess Number Higher or Lower.java |
| 375 |
Undefined |
Guess Number Higher or Lower II |
Guess Number Higher or Lower II.java |
| 376 |
Medium |
Wiggle Subsequence |
Wiggle Subsequence.java |
| 377 |
Medium |
Combination Sum IV |
Combination Sum IV.java |
| 378 |
Medium |
Kth Smallest Element in a Sorted Matrix |
Kth Smallest Element in a Sorted Matrix.java |
| 380 |
Medium |
Insert Delete GetRandom O(1) |
Insert Delete GetRandom O(1).java |
| 381 |
Hard |
Insert Delete GetRandom O(1) - Duplicates allowed |
Insert Delete GetRandom O(1) - Duplicates allowed.java |
| 382 |
Medium |
Linked List Random Node |
Linked List Random Node.java |
| 383 |
Undefined |
Ransom Note |
Ransom Note.java |
| 384 |
Medium |
Shuffle an Array |
Shuffle an Array.java |
| 385 |
Undefined |
Mini Parser |
Mini Parser.java |
| 386 |
Medium |
Lexicographical Numbers |
Lexicographical Numbers.java |
| 387 |
Undefined |
First Unique Character in a String |
First Unique Character in a String.java |
| 388 |
Medium |
Longest Absolute File Path |
Longest Absolute File Path.java |
| 389 |
Easy |
Find the Difference |
Find the Difference.java |
| 390 |
Medium |
Elimination Game |
Elimination Game.java |
| 392 |
Easy |
Is Subsequence |
Is Subsequence.java |
| 394 |
Medium |
Decode String |
Decode String.java |
| 395 |
Medium |
Longest Substring with At Least K Repeating Characters |
Longest Substring with At Least K Repeating Characters.java |
| 396 |
Undefined |
Rotate Function |
Rotate Function.java |
| 397 |
Undefined |
Integer Replacement |
Integer Replacement.java |
| 398 |
Undefined |
Random Pick Index |
Random Pick Index.java |
| 399 |
Medium |
Evaluate Division |
Evaluate Division.java |
| 400 |
Undefined |
Nth Digit |
Nth Digit.java |
| 401 |
Easy |
Binary Watch |
Binary Watch.java |
| 402 |
Medium |
Remove K Digits |
Remove K Digits.java |
| 404 |
Easy |
Sum of Left Leaves |
Sum of Left Leaves.java |
| 405 |
Undefined |
Convert a Number to Hexadecimal |
Convert a Number to Hexadecimal.java |
| 406 |
Undefined |
Queue Reconstruction by Height |
Queue Reconstruction by Height.java |
| 409 |
Undefined |
Longest Palindrome |
Longest Palindrome.java |
| 410 |
Hard |
Split Array Largest Sum |
Split Array Largest Sum.java |
| 412 |
Easy |
Fizz Buzz |
Fizz Buzz.java |
| 413 |
Medium |
Arithmetic Slices |
Arithmetic Slices.java |
| 414 |
Undefined |
Third Maximum Number |
Third Maximum Number.java |
| 415 |
Easy |
Add Strings |
Add Strings.java |
| 416 |
Medium |
Partition Equal Subset Sum |
Partition Equal Subset Sum.java |
| 417 |
Medium |
Pacific Atlantic Water Flow |
Pacific Atlantic Water Flow.java |
| 419 |
Undefined |
Battleships in a Board |
Battleships in a Board.java |
| 421 |
Medium |
Maximum XOR of Two Numbers in an Array |
Maximum XOR of Two Numbers in an Array.java |
| 423 |
Medium |
Reconstruct Original Digits from English |
Reconstruct Original Digits from English.java |
| 424 |
Undefined |
Longest Repeating Character Replacement |
Longest Repeating Character Replacement.java |
| 427 |
Medium |
Construct Quad Tree |
Construct Quad Tree.java |
| 429 |
Medium |
N-ary Tree Level Order Traversal |
N-ary Tree Level Order Traversal.java |
| 430 |
Medium |
Flatten a Multilevel Doubly Linked List |
Flatten a Multilevel Doubly Linked List.java |
| 431 |
Hard |
Encode N-ary Tree to Binary Tree |
Encode N-ary Tree to Binary Tree.java |
| 432 |
Hard |
All O`one Data Structure |
All O`one Data Structure.java |
| 433 |
Medium |
Minimum Genetic Mutation |
Minimum Genetic Mutation.java |
| 434 |
Undefined |
Number of Segments in a String |
Number of Segments in a String.java |
| 435 |
Undefined |
Non-overlapping Intervals |
Non-overlapping Intervals.java |
| 436 |
Undefined |
Find Right Interval |
Find Right Interval.java |
| 437 |
Medium |
Path Sum III |
Path Sum III.java |
| 438 |
Medium |
Find All Anagrams in a String |
Find All Anagrams in a String.java |
| 441 |
Easy |
Arranging Coins |
Arranging Coins.java |
| 442 |
Medium |
Find All Duplicates in an Array |
Find All Duplicates in an Array.java |
| 443 |
Undefined |
String Compression |
String Compression.java |
| 445 |
Medium |
Add Two Numbers II |
Add Two Numbers II.java |
| 448 |
Easy |
Find All Numbers Disappeared in an Array |
Find All Numbers Disappeared in an Array.java |
| 449 |
Undefined |
Serialize and Deserialize BST |
Serialize and Deserialize BST.java |
| 450 |
Medium |
Delete Node in a BST |
Delete Node in a BST.java |
| 451 |
Medium |
Sort Characters By Frequency |
Sort Characters By Frequency.java |
| 452 |
Medium |
Minimum Number of Arrows to Burst Balloons |
Minimum Number of Arrows to Burst Balloons.java |
| 454 |
Medium |
4Sum II |
4Sum II.java |
| 455 |
Easy |
Assign Cookies |
Assign Cookies.java |
| 456 |
Medium |
132 Pattern |
132 Pattern.java |
| 457 |
Medium |
Circular Array Loop |
Circular Array Loop.java |
| 458 |
Hard |
Poor Pigs |
Poor Pigs.java |
| 459 |
Undefined |
Repeated Substring Pattern |
Repeated Substring Pattern.java |
| 460 |
Hard |
LFU Cache |
LFU Cache.java |
| 461 |
Easy |
Hamming Distance |
Hamming Distance.java |
| 462 |
Medium |
Minimum Moves to Equal Array Elements II |
Minimum Moves to Equal Array Elements II.java |
| 463 |
Easy |
Island Perimeter |
Island Perimeter.java |
| 464 |
Medium |
Can I Win |
Can I Win.java |
| 467 |
Undefined |
Unique Substrings in Wraparound String |
Unique Substrings in Wraparound String.java |
| 468 |
Medium |
Validate IP Address |
Validate IP Address.java |
| 470 |
Medium |
Implement Rand10() Using Rand7() |
Implement Rand10() Using Rand7().java |
| 472 |
Hard |
Concatenated Words |
Concatenated Words.java |
| 473 |
Medium |
Matchsticks to Square |
Matchsticks to Square.java |
| 474 |
Medium |
Ones and Zeroes |
Ones and Zeroes.java |
| 475 |
Medium |
Heaters |
Heaters.java |
| 476 |
Easy |
Number Complement |
Number Complement.java |
| 477 |
Undefined |
Total Hamming Distance |
Total Hamming Distance.java |
| 478 |
Medium |
Generate Random Point in a Circle |
Generate Random Point in a Circle.java |
| 479 |
Undefined |
Largest Palindrome Product |
Largest Palindrome Product.java |
| 480 |
Undefined |
Sliding Window Median |
Sliding Window Median.java |
| 482 |
Easy |
License Key Formatting |
License Key Formatting.java |
| 485 |
Easy |
Max Consecutive Ones |
Max Consecutive Ones.java |
| 486 |
Medium |
Predict the Winner |
Predict the Winner.java |
| 488 |
Undefined |
Zuma Game |
Zuma Game.java |
| 491 |
Undefined |
Increasing Subsequences |
Increasing Subsequences.java |
| 492 |
Undefined |
Construct the Rectangle |
Construct the Rectangle.java |
| 493 |
Undefined |
Reverse Pairs |
Reverse Pairs.java |
| 494 |
Undefined |
Target Sum |
Target Sum.java |
| 495 |
Undefined |
Teemo Attacking |
Teemo Attacking.java |
| 496 |
Easy |
Next Greater Element I |
Next Greater Element I.java |
| 497 |
Undefined |
Random Point in Non-overlapping Rectangles |
Random Point in Non-overlapping Rectangles.java |
| 498 |
Medium |
Diagonal Traverse |
Diagonal Traverse.java |
| 500 |
Easy |
Keyboard Row |
Keyboard Row.java |
| 501 |
Easy |
Find Mode in Binary Search Tree |
Find Mode in Binary Search Tree.java |
| 503 |
Medium |
Next Greater Element II |
Next Greater Element II.java |
| 504 |
Easy |
Base 7 |
Base 7.java |
| 506 |
Undefined |
Relative Ranks |
Relative Ranks.java |
| 507 |
Undefined |
Perfect Number |
Perfect Number.java |
| 508 |
Undefined |
Most Frequent Subtree Sum |
Most Frequent Subtree Sum.java |
| 509 |
Easy |
Fibonacci Number |
Fibonacci Number.java |
| 513 |
Medium |
Find Bottom Left Tree Value |
Find Bottom Left Tree Value.java |
| 514 |
Hard |
Freedom Trail |
Freedom Trail.java |
| 515 |
Medium |
Find Largest Value in Each Tree Row |
Find Largest Value in Each Tree Row.java |
| 516 |
Undefined |
Longest Palindromic Subsequence |
Longest Palindromic Subsequence.java |
| 518 |
Medium |
Coin Change 2 |
Coin Change 2.java |
| 519 |
Undefined |
Random Flip Matrix |
Random Flip Matrix.java |
| 520 |
Easy |
Detect Capital |
Detect Capital.java |
| 521 |
Undefined |
Longest Uncommon Subsequence I |
Longest Uncommon Subsequence I.java |
| 523 |
Undefined |
Continuous Subarray Sum |
Continuous Subarray Sum.java |
| 524 |
Medium |
Longest Word in Dictionary through Deleting |
Longest Word in Dictionary through Deleting.java |
| 525 |
Medium |
Contiguous Array |
Contiguous Array.java |
| 526 |
Medium |
Beautiful Arrangement |
Beautiful Arrangement.java |
| 528 |
Undefined |
Random Pick with Weight |
Random Pick with Weight.java |
| 529 |
Medium |
Minesweeper |
Minesweeper.java |
| 530 |
Undefined |
Minimum Absolute Difference in BST |
Minimum Absolute Difference in BST.java |
| 532 |
Undefined |
K-diff Pairs in an Array |
K-diff Pairs in an Array.java |
| 535 |
Medium |
Encode and Decode TinyURL |
Encode and Decode TinyURL.java |
| 538 |
Medium |
Convert BST to Greater Tree |
Convert BST to Greater Tree.java |
| 539 |
Medium |
Minimum Time Difference |
Minimum Time Difference.java |
| 540 |
Undefined |
Single Element in a Sorted Array |
Single Element in a Sorted Array.java |
| 541 |
Undefined |
Reverse String II |
Reverse String II.java |
| 542 |
Medium |
01 Matrix |
01 Matrix.java |
| 543 |
Easy |
Diameter of Binary Tree |
Diameter of Binary Tree.java |
| 546 |
Hard |
Remove Boxes |
Remove Boxes.java |
| 547 |
Undefined |
Friend Circles |
Friend Circles.java |
| 551 |
Undefined |
Student Attendance Record I |
Student Attendance Record I.java |
| 552 |
Undefined |
Student Attendance Record II |
Student Attendance Record II.java |
| 554 |
Medium |
Brick Wall |
Brick Wall.java |
| 557 |
Undefined |
Reverse Words in a String III |
Reverse Words in a String III.java |
| 559 |
Undefined |
Maximum Depth of N-ary Tree |
Maximum Depth of N-ary Tree.java |
| 560 |
Undefined |
Subarray Sum Equals K |
Subarray Sum Equals K.java |
| 561 |
Easy |
Array Partition I |
Array Partition I.java |
| 563 |
Easy |
Binary Tree Tilt |
Binary Tree Tilt.java |
| 565 |
Medium |
Array Nesting |
Array Nesting.java |
| 566 |
Easy |
Reshape the Matrix |
Reshape the Matrix.java |
| 567 |
Undefined |
Permutation in String |
Permutation in String.java |
| 572 |
Undefined |
Subtree of Another Tree |
Subtree of Another Tree.java |
| 576 |
Medium |
Out of Boundary Paths |
Out of Boundary Paths.java |
| 581 |
Medium |
Shortest Unsorted Continuous Subarray |
Shortest Unsorted Continuous Subarray.java |
| 583 |
Medium |
Delete Operation for Two Strings |
Delete Operation for Two Strings.java |
| 589 |
Easy |
N-ary Tree Preorder Traversal |
N-ary Tree Preorder Traversal.java |
| 590 |
Easy |
N-ary Tree Postorder Traversal |
N-ary Tree Postorder Traversal.java |
| 592 |
Undefined |
Fraction Addition and Subtraction |
Fraction Addition and Subtraction.java |
| 593 |
Undefined |
Valid Square |
Valid Square.java |
| 594 |
Easy |
Longest Harmonious Subsequence |
Longest Harmonious Subsequence.java |
| 598 |
Easy |
Range Addition II |
Range Addition II.java |
| 599 |
Undefined |
Minimum Index Sum of Two Lists |
Minimum Index Sum of Two Lists.java |
| 605 |
Easy |
Can Place Flowers |
Can Place Flowers.java |
| 606 |
Easy |
Construct String from Binary Tree |
Construct String from Binary Tree.java |
| 609 |
Medium |
Find Duplicate File in System |
Find Duplicate File in System.java |
| 611 |
Medium |
Valid Triangle Number |
Valid Triangle Number.java |
| 617 |
Undefined |
Merge Two Binary Trees |
Merge Two Binary Trees.java |
| 621 |
Undefined |
Task Scheduler |
Task Scheduler.java |
| 622 |
Medium |
Design Circular Queue |
Design Circular Queue.java |
| 623 |
Medium |
Add One Row to Tree |
Add One Row to Tree.java |
| 628 |
Undefined |
Maximum Product of Three Numbers |
Maximum Product of Three Numbers.java |
| 630 |
Hard |
Course Schedule III |
Course Schedule III.java |
| 636 |
Medium |
Exclusive Time of Functions |
Exclusive Time of Functions.java |
| 637 |
Easy |
Average of Levels in Binary Tree |
Average of Levels in Binary Tree.java |
| 638 |
Undefined |
Shopping Offers |
Shopping Offers.java |
| 639 |
Hard |
Decode Ways II |
Decode Ways II.java |
| 641 |
Undefined |
Design Circular Deque |
Design Circular Deque.java |
| 643 |
Undefined |
Maximum Average Subarray I |
Maximum Average Subarray I.java |
| 645 |
Easy |
Set Mismatch |
Set Mismatch.java |
| 646 |
Undefined |
Maximum Length of Pair Chain |
Maximum Length of Pair Chain.java |
| 647 |
Medium |
Palindromic Substrings |
Palindromic Substrings.java |
| 648 |
Undefined |
Replace Words |
Replace Words.java |
| 650 |
Medium |
2 Keys Keyboard |
2 Keys Keyboard.java |
| 652 |
Undefined |
Find Duplicate Subtrees |
Find Duplicate Subtrees.java |
| 653 |
Easy |
Two Sum IV - Input is a BST |
Two Sum IV - Input is a BST.java |
| 654 |
Medium |
Maximum Binary Tree |
Maximum Binary Tree.java |
| 655 |
Undefined |
Print Binary Tree |
Print Binary Tree.java |
| 658 |
Medium |
Find K Closest Elements |
Find K Closest Elements.java |
| 661 |
Undefined |
Image Smoother |
Image Smoother.java |
| 662 |
Undefined |
Maximum Width of Binary Tree |
Maximum Width of Binary Tree.java |
| 663 |
Medium |
Equal Tree Partition |
Equal Tree Partition.java |
| 665 |
Medium |
Non-decreasing Array |
Non-decreasing Array.java |
| 667 |
Medium |
Beautiful Arrangement II |
Beautiful Arrangement II.java |
| 669 |
Medium |
Trim a Binary Search Tree |
Trim a Binary Search Tree.java |
| 670 |
Undefined |
Maximum Swap |
Maximum Swap.java |
| 671 |
Undefined |
Second Minimum Node In a Binary Tree |
Second Minimum Node In a Binary Tree.java |
| 673 |
Undefined |
Number of Longest Increasing Subsequence |
Number of Longest Increasing Subsequence.java |
| 674 |
Undefined |
Longest Continuous Increasing Subsequence |
Longest Continuous Increasing Subsequence.java |
| 676 |
Undefined |
Implement Magic Dictionary |
Implement Magic Dictionary.java |
| 677 |
Medium |
Map Sum Pairs |
Map Sum Pairs.java |
| 678 |
Undefined |
Valid Parenthesis String |
Valid Parenthesis String.java |
| 679 |
Hard |
24 Game |
24 Game.java |
| 680 |
Easy |
Valid Palindrome II |
Valid Palindrome II.java |
| 682 |
Easy |
Baseball Game |
Baseball Game.java |
| 684 |
Medium |
Redundant Connection |
Redundant Connection.java |
| 686 |
Undefined |
Repeated String Match |
Repeated String Match.java |
| 687 |
Undefined |
Longest Univalue Path |
Longest Univalue Path.java |
| 688 |
Medium |
Knight Probability in Chessboard |
Knight Probability in Chessboard.java |
| 692 |
Undefined |
Top K Frequent Words |
Top K Frequent Words.java |
| 693 |
Medium |
Binary Number with Alternating Bits |
Binary Number with Alternating Bits.java |
| 695 |
Medium |
Max Area of Island |
Max Area of Island.java |
| 696 |
Easy |
Count Binary Substrings |
Count Binary Substrings.java |
| 697 |
Undefined |
Degree of an Array |
Degree of an Array.java |
| 698 |
Medium |
Partition to K Equal Sum Subsets |
Partition to K Equal Sum Subsets.java |
| 700 |
Easy |
Search in a Binary Search Tree |
Search in a Binary Search Tree.java |
| 701 |
Medium |
Insert into a Binary Search Tree |
Insert into a Binary Search Tree.java |
| 703 |
Easy |
Kth Largest Element in a Stream |
Kth Largest Element in a Stream.java |
| 704 |
Easy |
Binary Search |
Binary Search.java |
| 705 |
Easy |
Design HashSet |
Design HashSet.java |
| 706 |
Easy |
Design HashMap |
Design HashMap.java |
| 707 |
Undefined |
Design Linked List |
Design Linked List.java |
| 709 |
Easy |
To Lower Case |
To Lower Case.java |
| 710 |
Undefined |
Random Pick with Blacklist |
Random Pick with Blacklist.java |
| 712 |
Undefined |
Minimum ASCII Delete Sum for Two Strings |
Minimum ASCII Delete Sum for Two Strings.java |
| 713 |
Undefined |
Subarray Product Less Than K |
Subarray Product Less Than K.java |
| 714 |
Medium |
Best Time to Buy and Sell Stock with Transaction Fee |
Best Time to Buy and Sell Stock with Transaction Fee.java |
| 717 |
Undefined |
1-bit and 2-bit Characters |
1-bit and 2-bit Characters.java |
| 718 |
Medium |
Maximum Length of Repeated Subarray |
Maximum Length of Repeated Subarray.java |
| 719 |
Hard |
Find K-th Smallest Pair Distance |
Find K-th Smallest Pair Distance.java |
| 720 |
Easy |
Longest Word in Dictionary |
Longest Word in Dictionary.java |
| 721 |
Medium |
Accounts Merge |
Accounts Merge.java |
| 722 |
Undefined |
Remove Comments |
Remove Comments.java |
| 724 |
Easy |
Find Pivot Index |
Find Pivot Index.java |
| 725 |
Medium |
Split Linked List in Parts |
Split Linked List in Parts.java |
| 729 |
Medium |
My Calendar I |
My Calendar I.java |
| 731 |
Medium |
My Calendar II |
My Calendar II.java |
| 732 |
Hard |
My Calendar III |
My Calendar III.java |
| 733 |
Easy |
Flood Fill |
Flood Fill.java |
| 735 |
Medium |
Asteroid Collision |
Asteroid Collision.java |
| 738 |
Medium |
Monotone Increasing Digits |
Monotone Increasing Digits.java |
| 739 |
Medium |
Daily Temperatures |
Daily Temperatures.java |
| 740 |
Undefined |
Delete and Earn |
Delete and Earn.java |
| 744 |
Undefined |
Find Smallest Letter Greater Than Target |
Find Smallest Letter Greater Than Target.java |
| 745 |
Hard |
Prefix and Suffix Search |
Prefix and Suffix Search.java |
| 746 |
Easy |
Min Cost Climbing Stairs |
Min Cost Climbing Stairs.java |
| 747 |
Undefined |
Largest Number At Least Twice of Others |
Largest Number At Least Twice of Others.java |
| 748 |
Undefined |
Shortest Completing Word |
Shortest Completing Word.java |
| 749 |
Undefined |
Contain Virus |
Contain Virus.java |
| 750 |
Medium |
Number Of Corner Rectangles |
Number Of Corner Rectangles.java |
| 752 |
Medium |
Open the Lock |
Open the Lock.java |
| 753 |
Hard |
Cracking the Safe |
Cracking the Safe.java |
| 754 |
Medium |
Reach a Number |
Reach a Number.java |
| 762 |
Undefined |
Prime Number of Set Bits in Binary Representation |
Prime Number of Set Bits in Binary Representation.java |
| 763 |
Medium |
Partition Labels |
Partition Labels.java |
| 764 |
Medium |
Largest Plus Sign |
Largest Plus Sign.java |
| 766 |
Undefined |
Toeplitz Matrix |
Toeplitz Matrix.java |
| 767 |
Undefined |
Reorganize String |
Reorganize String.java |
| 769 |
Medium |
Max Chunks To Make Sorted |
Max Chunks To Make Sorted.java |
| 771 |
Undefined |
Jewels and Stones |
Jewels and Stones.java |
| 773 |
Hard |
Sliding Puzzle |
Sliding Puzzle.java |
| 775 |
Medium |
Global and Local Inversions |
Global and Local Inversions.java |
| 778 |
Hard |
Swim in Rising Water |
Swim in Rising Water.java |
| 783 |
Undefined |
Minimum Distance Between BST Nodes |
Minimum Distance Between BST Nodes.java |
| 784 |
Medium |
Letter Case Permutation |
Letter Case Permutation.java |
| 785 |
Medium |
Is Graph Bipartite? |
Is Graph Bipartite?.java |
| 787 |
Undefined |
Cheapest Flights Within K Stops |
Cheapest Flights Within K Stops.java |
| 788 |
Undefined |
Rotated Digits |
Rotated Digits.java |
| 789 |
Undefined |
Escape The Ghosts |
Escape The Ghosts.java |
| 791 |
Medium |
Custom Sort String |
Custom Sort String.java |
| 792 |
Medium |
Number of Matching Subsequences |
Number of Matching Subsequences.java |
| 794 |
Undefined |
Valid Tic-Tac-Toe State |
Valid Tic-Tac-Toe State.java |
| 795 |
Undefined |
Number of Subarrays with Bounded Maximum |
Number of Subarrays with Bounded Maximum.java |
| 796 |
Easy |
Rotate String |
Rotate String.java |
| 797 |
Medium |
All Paths From Source to Target |
All Paths From Source to Target.java |
| 799 |
Medium |
Champagne Tower |
Champagne Tower.java |
| 801 |
Undefined |
Minimum Swaps To Make Sequences Increasing |
Minimum Swaps To Make Sequences Increasing.java |
| 802 |
Undefined |
Find Eventual Safe States |
Find Eventual Safe States.java |
| 804 |
Easy |
Unique Morse Code Words |
Unique Morse Code Words.java |
| 806 |
Undefined |
Number of Lines To Write String |
Number of Lines To Write String.java |
| 807 |
Medium |
Max Increase to Keep City Skyline |
Max Increase to Keep City Skyline.java |
| 809 |
Medium |
Expressive Words |
Expressive Words.java |
| 811 |
Undefined |
Subdomain Visit Count |
Subdomain Visit Count.java |
| 812 |
Easy |
Largest tasks.Triangle Area |
Largest tasks.Triangle Area.java |
| 813 |
Undefined |
Largest Sum of Averages |
Largest Sum of Averages.java |
| 814 |
Medium |
Binary Tree Pruning |
Binary Tree Pruning.java |
| 816 |
Medium |
Ambiguous Coordinates |
Ambiguous Coordinates.java |
| 817 |
Undefined |
Linked List Components |
Linked List Components.java |
| 819 |
Easy |
Most Common Word |
Most Common Word.java |
| 820 |
Medium |
Short Encoding of Words |
Short Encoding of Words.java |
| 821 |
Easy |
Shortest Distance to a Character |
Shortest Distance to a Character.java |
| 822 |
Medium |
Card Flipping Game |
Card Flipping Game.java |
| 823 |
Medium |
Binary Trees With Factors |
Binary Trees With Factors.java |
| 824 |
Undefined |
Goat Latin |
Goat Latin.java |
| 826 |
Undefined |
Most Profit Assigning Work |
Most Profit Assigning Work.java |
| 827 |
Hard |
Making A Large Island |
Making A Large Island.java |
| 828 |
Undefined |
Count Unique Characters of All Substrings of a Given String |
Count Unique Characters of All Substrings of a Given String.java |
| 830 |
Undefined |
Positions of Large Groups |
Positions of Large Groups.java |
| 831 |
Medium |
Masking Personal Information |
Masking Personal Information.java |
| 832 |
Undefined |
Flipping an Image |
Flipping an Image.java |
| 833 |
Medium |
Find And Replace in String |
Find And Replace in String.java |
| 835 |
Medium |
Image Overlap |
Image Overlap.java |
| 836 |
Undefined |
Rectangle Overlap |
Rectangle Overlap.java |
| 837 |
Medium |
New 21 Game |
New 21 Game.java |
| 838 |
Medium |
Push Dominoes |
Push Dominoes.java |
| 840 |
Undefined |
Magic Squares In Grid |
Magic Squares In Grid.java |
| 841 |
Medium |
Keys and Rooms |
Keys and Rooms.java |
| 842 |
Medium |
Split Array into Fibonacci Sequence |
Split Array into Fibonacci Sequence.java |
| 844 |
Easy |
Backspace String Compare |
Backspace String Compare.java |
| 845 |
Medium |
Longest Mountain in Array |
Longest Mountain in Array.java |
| 846 |
Medium |
Hand of Straights |
Hand of Straights.java |
| 848 |
Medium |
Shifting Letters |
Shifting Letters.java |
| 849 |
Medium |
Maximize Distance to Closest Person |
Maximize Distance to Closest Person.java |
| 852 |
Undefined |
Peak Index in a Mountain Array |
Peak Index in a Mountain Array.java |
| 855 |
Medium |
Exam Room |
Exam Room.java |
| 856 |
Medium |
Score of Parentheses |
Score of Parentheses.java |
| 859 |
Easy |
Buddy Strings |
Buddy Strings.java |
| 860 |
Undefined |
Lemonade Change |
Lemonade Change.java |
| 861 |
Medium |
Score After Flipping Matrix |
Score After Flipping Matrix.java |
| 863 |
Undefined |
All Nodes Distance K in Binary Tree |
All Nodes Distance K in Binary Tree.java |
| 865 |
Medium |
Smallest Subtree with all the Deepest Nodes |
Smallest Subtree with all the Deepest Nodes.java |
| 866 |
Medium |
Prime Palindrome |
Prime Palindrome.java |
| 867 |
Undefined |
Transpose Matrix |
Transpose Matrix.java |
| 868 |
Easy |
Binary Gap |
Binary Gap.java |
| 869 |
Medium |
Reordered Power of 2 |
Reordered Power of 2.java |
| 870 |
Medium |
Advantage Shuffle |
Advantage Shuffle.java |
| 871 |
Undefined |
Minimum Number of Refueling Stops |
Minimum Number of Refueling Stops.java |
| 872 |
Easy |
Leaf-Similar Trees |
Leaf-Similar Trees.java |
| 873 |
Medium |
Length of Longest Fibonacci Subsequence |
Length of Longest Fibonacci Subsequence.java |
| 874 |
Undefined |
Walking Robot Simulation |
Walking Robot Simulation.java |
| 875 |
Medium |
Koko Eating Bananas |
Koko Eating Bananas.java |
| 876 |
Undefined |
Middle of the Linked List |
Middle of the Linked List.java |
| 877 |
Medium |
Stone Game |
Stone Game.java |
| 880 |
Medium |
Decoded String at Index |
Decoded String at Index.java |
| 881 |
Medium |
Boats to Save People |
Boats to Save People.java |
| 883 |
Easy |
Projection Area of 3D Shapes |
Projection Area of 3D Shapes.java |
| 884 |
Undefined |
Uncommon Words from Two Sentences |
Uncommon Words from Two Sentences.java |
| 885 |
Medium |
Spiral Matrix III |
Spiral Matrix III.java |
| 886 |
Undefined |
Possible Bipartition |
Possible Bipartition.java |
| 888 |
Undefined |
Fair tasks.Candy Swap |
Fair tasks.Candy Swap.java |
| 889 |
Medium |
Construct Binary Tree from Preorder and Postorder Traversal |
Construct Binary Tree from Preorder and Postorder Traversal.java |
| 890 |
Medium |
Find and Replace Pattern |
Find and Replace Pattern.java |
| 892 |
Undefined |
Surface Area of 3D Shapes |
Surface Area of 3D Shapes.java |
| 893 |
Easy |
Groups of Special-Equivalent Strings |
Groups of Special-Equivalent Strings.java |
| 894 |
Medium |
All Possible Full Binary Trees |
All Possible Full Binary Trees.java |
| 895 |
Hard |
Maximum Frequency Stack |
Maximum Frequency Stack.java |
| 897 |
Easy |
Increasing Order Search Tree |
Increasing Order Search Tree.java |
| 899 |
Hard |
Orderly Queue |
Orderly Queue.java |
| 900 |
Undefined |
RLE Iterator |
RLE Iterator.java |
| 901 |
Undefined |
Online Stock Span |
Online Stock Span.java |
| 902 |
Hard |
Numbers At Most N Given Digit Set |
Numbers At Most N Given Digit Set.java |
| 905 |
Easy |
Sort Array By Parity |
Sort Array By Parity.java |
| 907 |
Medium |
Sum of Subarray Minimums |
Sum of Subarray Minimums.java |
| 908 |
Easy |
Smallest Range I |
Smallest Range I.java |
| 910 |
Medium |
Smallest Range II |
Smallest Range II.java |
| 911 |
Medium |
Online Election |
Online Election.java |
| 914 |
Undefined |
X of a Kind in a Deck of Cards |
X of a Kind in a Deck of Cards.java |
| 915 |
Medium |
Partition Array into Disjoint Intervals |
Partition Array into Disjoint Intervals.java |
| 916 |
Medium |
Word tasks.Subsets |
Word tasks.Subsets.java |
| 917 |
Easy |
Reverse Only Letters |
Reverse Only Letters.java |
| 918 |
Medium |
Maximum Sum Circular Subarray |
Maximum Sum Circular Subarray.java |
| 919 |
Medium |
Complete Binary Tree Inserter |
Complete Binary Tree Inserter.java |
| 921 |
Medium |
Minimum Add to Make Parentheses Valid |
Minimum Add to Make Parentheses Valid.java |
| 922 |
Easy |
Sort Array By Parity II |
Sort Array By Parity II.java |
| 923 |
Medium |
3Sum With Multiplicity |
3Sum With Multiplicity.java |
| 925 |
Undefined |
Long Pressed Name |
Long Pressed Name.java |
| 926 |
Medium |
Flip String to Monotone Increasing |
Flip String to Monotone Increasing.java |
| 927 |
Hard |
Three Equal Parts |
Three Equal Parts.java |
| 929 |
Easy |
Unique Email Addresses |
Unique Email Addresses.java |
| 930 |
Undefined |
Binary Subarrays With Sum |
Binary Subarrays With Sum.java |
| 931 |
Undefined |
Minimum Falling Path Sum |
Minimum Falling Path Sum.java |
| 932 |
Medium |
Beautiful Array |
Beautiful Array.java |
| 933 |
Undefined |
Number of Recent Calls |
Number of Recent Calls.java |
| 934 |
Undefined |
Shortest Bridge |
Shortest Bridge.java |
| 935 |
Medium |
Knight Dialer |
Knight Dialer.java |
| 937 |
Easy |
Reorder Data in Log Files |
Reorder Data in Log Files.java |
| 938 |
Easy |
Range Sum of BST |
Range Sum of BST.java |
| 941 |
Easy |
Valid Mountain Array |
Valid Mountain Array.java |
| 942 |
Undefined |
DI String Match |
DI String Match.java |
| 945 |
Undefined |
Minimum Increment to Make Array Unique |
Minimum Increment to Make Array Unique.java |
| 946 |
Medium |
Validate Stack Sequences |
Validate Stack Sequences.java |
| 947 |
Medium |
Most Stones Removed with Same Row or Column |
Most Stones Removed with Same Row or Column.java |
| 948 |
Medium |
Bag of Tokens |
Bag of Tokens.java |
| 949 |
Undefined |
Largest Time for Given Digits |
Largest Time for Given Digits.java |
| 950 |
Undefined |
Reveal Cards In Increasing Order |
Reveal Cards In Increasing Order.java |
| 951 |
Undefined |
Flip Equivalent Binary Trees |
Flip Equivalent Binary Trees.java |
| 952 |
Undefined |
Largest Component Size by Common Factor |
Largest Component Size by Common Factor.java |
| 953 |
Easy |
Verifying an Alien Dictionary |
Verifying an Alien Dictionary.java |
| 954 |
Medium |
Array of Doubled Pairs |
Array of Doubled Pairs.java |
| 957 |
Undefined |
Prison Cells After N Days |
Prison Cells After N Days.java |
| 958 |
Medium |
Check Completeness of a Binary Tree |
Check Completeness of a Binary Tree.java |
| 959 |
Undefined |
Regions Cut By Slashes |
Regions Cut By Slashes.java |
| 961 |
Undefined |
N-Repeated Element in Size 2N Array |
N-Repeated Element in Size 2N Array.java |
| 962 |
Medium |
Maximum Width Ramp |
Maximum Width Ramp.java |
| 965 |
Undefined |
Univalued Binary Tree |
Univalued Binary Tree.java |
| 966 |
Undefined |
Vowel Spellchecker |
Vowel Spellchecker.java |
| 967 |
Undefined |
Numbers With Same Consecutive Differences |
Numbers With Same Consecutive Differences.java |
| 968 |
Hard |
Binary Tree Cameras |
Binary Tree Cameras.java |
| 969 |
Undefined |
Pancake Sorting |
Pancake Sorting.java |
| 970 |
Medium |
Powerful Integers |
Powerful Integers.java |
| 971 |
Medium |
Flip Binary Tree To Match Preorder Traversal |
Flip Binary Tree To Match Preorder Traversal.java |
| 973 |
Medium |
K Closest Points to Origin |
K Closest Points to Origin.java |
| 976 |
Undefined |
Largest Perimeter tasks.Triangle |
Largest Perimeter tasks.Triangle.java |
| 977 |
Easy |
Squares of a Sorted Array |
Squares of a Sorted Array.java |
| 978 |
Medium |
Longest Turbulent Subarray |
Longest Turbulent Subarray.java |
| 979 |
Medium |
Distribute Coins in Binary Tree |
Distribute Coins in Binary Tree.java |
| 980 |
Hard |
Unique Paths III |
Unique Paths III.java |
| 981 |
Undefined |
Time Based Key-Value Store |
Time Based Key-Value Store.java |
| 982 |
Undefined |
Triples with Bitwise AND Equal To Zero |
Triples with Bitwise AND Equal To Zero.java |
| 983 |
Undefined |
Minimum Cost For Tickets |
Minimum Cost For Tickets.java |
| 984 |
Undefined |
String Without AAA or BBB |
String Without AAA or BBB.java |
| 985 |
Undefined |
Sum of Even Numbers After Queries |
Sum of Even Numbers After Queries.java |
| 986 |
Medium |
Interval List Intersections |
Interval List Intersections.java |
| 987 |
Hard |
Vertical Order Traversal of a Binary Tree |
Vertical Order Traversal of a Binary Tree.java |
| 988 |
Medium |
Smallest String Starting From Leaf |
Smallest String Starting From Leaf.java |
| 989 |
Easy |
Add to Array-Form of Integer |
Add to Array-Form of Integer.java |
| 991 |
Medium |
Broken Calculator |
Broken Calculator.java |
| 992 |
Hard |
Subarrays with K Different Integers |
Subarrays with K Different Integers.java |
| 993 |
Easy |
Cousins in Binary Tree |
Cousins in Binary Tree.java |
| 994 |
Medium |
Rotting Oranges |
Rotting Oranges.java |
| 995 |
Hard |
Minimum Number of K Consecutive Bit Flips |
Minimum Number of K Consecutive Bit Flips.java |
| 997 |
Easy |
Find the Town Judge |
Find the Town Judge.java |
| 998 |
Undefined |
Maximum Binary Tree II |
Maximum Binary Tree II.java |
| 999 |
Undefined |
Available Captures for Rook |
Available Captures for Rook.java |
| 1000 |
Undefined |
Minimum Cost to Merge Stones |
Minimum Cost to Merge Stones.java |
| 1002 |
Easy |
Find Common Characters |
Find Common Characters.java |
| 1003 |
Undefined |
Check If Word Is Valid After Substitutions |
Check If Word Is Valid After Substitutions.java |
| 1004 |
Medium |
Max Consecutive Ones III |
Max Consecutive Ones III.java |
| 1005 |
Undefined |
Maximize Sum Of Array After K Negations |
Maximize Sum Of Array After K Negations.java |
| 1006 |
Medium |
Clumsy Factorial |
Clumsy Factorial.java |
| 1007 |
Medium |
Minimum Domino Rotations For Equal Row |
Minimum Domino Rotations For Equal Row.java |
| 1008 |
Medium |
Construct Binary Search Tree from Preorder Traversal |
Construct Binary Search Tree from Preorder Traversal.java |
| 1009 |
Easy |
Complement of Base 10 Integer |
Complement of Base 10 Integer.java |
| 1010 |
Medium |
Pairs of Songs With Total Durations Divisible by 60 |
Pairs of Songs With Total Durations Divisible by 60.java |
| 1011 |
Medium |
Capacity To Ship Packages Within D Days |
Capacity To Ship Packages Within D Days.java |
| 1013 |
Undefined |
Partition Array Into Three Parts With Equal Sum |
Partition Array Into Three Parts With Equal Sum.java |
| 1014 |
Medium |
Best Sightseeing Pair |
Best Sightseeing Pair.java |
| 1015 |
Medium |
Smallest Integer Divisible by K |
Smallest Integer Divisible by K.java |
| 1016 |
Medium |
Binary String With Substrings Representing 1 To N |
Binary String With Substrings Representing 1 To N.java |
| 1018 |
Easy |
Binary Prefix Divisible By 5 |
Binary Prefix Divisible By 5.java |
| 1019 |
Undefined |
Next Greater Node In Linked List |
Next Greater Node In Linked List.java |
| 1020 |
Undefined |
Number of Enclaves |
Number of Enclaves.java |
| 1021 |
Easy |
Remove Outermost Parentheses |
Remove Outermost Parentheses.java |
| 1022 |
Undefined |
Sum of Root To Leaf Binary Numbers |
Sum of Root To Leaf Binary Numbers.java |
| 1023 |
Medium |
Camelcase Matching |
Camelcase Matching.java |
| 1024 |
Medium |
Video Stitching |
Video Stitching.java |
| 1025 |
Undefined |
Divisor Game |
Divisor Game.java |
| 1026 |
Undefined |
Maximum Difference Between Node and Ancestor |
Maximum Difference Between Node and Ancestor.java |
| 1027 |
Undefined |
Longest Arithmetic Sequence |
Longest Arithmetic Sequence.java |
| 1029 |
Medium |
Two City Scheduling |
Two City Scheduling.java |
| 1030 |
Undefined |
Matrix Cells in Distance Order |
Matrix Cells in Distance Order.java |
| 1031 |
Undefined |
Maximum Sum of Two Non-Overlapping Subarrays |
Maximum Sum of Two Non-Overlapping Subarrays.java |
| 1032 |
Hard |
Stream of Characters |
Stream of Characters.java |
| 1033 |
Undefined |
Moving Stones Until Consecutive |
Moving Stones Until Consecutive.java |
| 1034 |
Medium |
Coloring A Border |
Coloring A Border.java |
| 1035 |
Medium |
Uncrossed Lines |
Uncrossed Lines.java |
| 1036 |
Hard |
Escape a Large Maze |
Escape a Large Maze.java |
| 1037 |
Easy |
Valid Boomerang |
Valid Boomerang.java |
| 1038 |
Undefined |
Binary Search Tree to Greater Sum Tree |
Binary Search Tree to Greater Sum Tree.java |
| 1041 |
Undefined |
Robot Bounded In Circle |
Robot Bounded In Circle.java |
| 1042 |
Undefined |
Flower Planting With No Adjacent |
Flower Planting With No Adjacent.java |
| 1043 |
Undefined |
Partition Array for Maximum Sum |
Partition Array for Maximum Sum.java |
| 1044 |
Undefined |
Longest Duplicate Substring |
Longest Duplicate Substring.java |
| 1046 |
Easy |
Last Stone Weight |
Last Stone Weight.java |
| 1047 |
Easy |
Remove All Adjacent Duplicates In String |
Remove All Adjacent Duplicates In String.java |
| 1048 |
Medium |
Longest String Chain |
Longest String Chain.java |
| 1049 |
Undefined |
Last Stone Weight II |
Last Stone Weight II.java |
| 1051 |
Undefined |
Height Checker |
Height Checker.java |
| 1052 |
Undefined |
Grumpy Bookstore Owner |
Grumpy Bookstore Owner.java |
| 1053 |
Undefined |
Previous Permutation With One Swap |
Previous Permutation With One Swap.java |
| 1054 |
Undefined |
Distant Barcodes |
Distant Barcodes.java |
| 1071 |
Easy |
Greatest Common Divisor of Strings |
Greatest Common Divisor of Strings.java |
| 1073 |
Medium |
Adding Two Negabinary Numbers |
Adding Two Negabinary Numbers.java |
| 1074 |
Hard |
Number of Submatrices That Sum to Target |
Number of Submatrices That Sum to Target.java |
| 1078 |
Undefined |
Occurrences After Bigram |
Occurrences After Bigram.java |
| 1079 |
Medium |
Letter Tile Possibilities |
Letter Tile Possibilities.java |
| 1080 |
Undefined |
Insufficient Nodes in Root to Leaf Paths |
Insufficient Nodes in Root to Leaf Paths.java |
| 1081 |
Undefined |
Smallest Subsequence of Distinct Characters |
Smallest Subsequence of Distinct Characters.java |
| 1089 |
Undefined |
Duplicate Zeros |
Duplicate Zeros.java |
| 1090 |
Medium |
Largest Values From Labels |
Largest Values From Labels.java |
| 1091 |
Medium |
Shortest Path in Binary Matrix |
Shortest Path in Binary Matrix.java |
| 1093 |
Medium |
Statistics from a Large Sample |
Statistics from a Large Sample.java |
| 1094 |
Medium |
Car Pooling |
Car Pooling.java |
| 1102 |
Medium |
Path With Maximum Minimum Value |
Path With Maximum Minimum Value.java |
| 1103 |
Undefined |
Distribute Candies to People |
Distribute Candies to People.java |
| 1104 |
Medium |
Path In Zigzag Labelled Binary Tree |
Path In Zigzag Labelled Binary Tree.java |
| 1105 |
Undefined |
Filling Bookcase Shelves |
Filling Bookcase Shelves.java |
| 1108 |
Undefined |
Defanging an IP Address |
Defanging an IP Address.java |
| 1109 |
Undefined |
Corporate Flight Bookings |
Corporate Flight Bookings.java |
| 1110 |
Undefined |
Delete Nodes And Return Forest |
Delete Nodes And Return Forest.java |
| 1111 |
Medium |
Maximum Nesting Depth of Two Valid Parentheses Strings |
Maximum Nesting Depth of Two Valid Parentheses Strings.java |
| 1114 |
Undefined |
Print in Order |
Print in Order.java |
| 1115 |
Undefined |
Print FooBar Alternately |
Print FooBar Alternately.java |
| 1116 |
Undefined |
Print Zero Even Odd |
Print Zero Even Odd.java |
| 1117 |
Undefined |
Building H2O |
Building H2O.java |
| 1122 |
Undefined |
Relative Sort Array |
Relative Sort Array.java |
| 1123 |
Medium |
Lowest Common Ancestor of Deepest Leaves |
Lowest Common Ancestor of Deepest Leaves.java |
| 1124 |
Medium |
Longest Well-Performing Interval |
Longest Well-Performing Interval.java |
| 1128 |
Undefined |
Number of Equivalent Domino Pairs |
Number of Equivalent Domino Pairs.java |
| 1130 |
Medium |
Minimum Cost Tree From Leaf Values |
Minimum Cost Tree From Leaf Values.java |
| 1137 |
Easy |
N-th Tribonacci Number |
N-th Tribonacci Number.java |
| 1138 |
Medium |
Alphabet Board Path |
Alphabet Board Path.java |
| 1140 |
Medium |
Stone Game II |
Stone Game II.java |
| 1143 |
Medium |
Longest Common Subsequence |
Longest Common Subsequence.java |
| 1144 |
Undefined |
Decrease Elements To Make Array Zigzag |
Decrease Elements To Make Array Zigzag.java |
| 1145 |
Medium |
Binary Tree Coloring Game |
Binary Tree Coloring Game.java |
| 1146 |
Medium |
Snapshot Array |
Snapshot Array.java |
| 1154 |
Easy |
Day of the Year |
Day of the Year.java |
| 1155 |
Undefined |
Number of Dice Rolls With Target Sum |
Number of Dice Rolls With Target Sum.java |
| 1156 |
Medium |
Swap For Longest Repeated Character Substring |
Swap For Longest Repeated Character Substring.java |
| 1160 |
Undefined |
Find Words That Can Be Formed by Characters |
Find Words That Can Be Formed by Characters.java |
| 1161 |
Medium |
Maximum Level Sum of a Binary Tree |
Maximum Level Sum of a Binary Tree.java |
| 1162 |
Medium |
As Far from Land as Possible |
As Far from Land as Possible.java |
| 1169 |
Undefined |
Invalid Transactions |
Invalid Transactions.java |
| 1170 |
Undefined |
Compare Strings by Frequency of the Smallest Character |
Compare Strings by Frequency of the Smallest Character.java |
| 1171 |
Undefined |
Remove Zero Sum Consecutive Nodes from Linked List |
Remove Zero Sum Consecutive Nodes from Linked List.java |
| 1172 |
Hard |
Dinner Plate Stacks |
Dinner Plate Stacks.java |
| 1175 |
Undefined |
Prime Arrangements |
Prime Arrangements.java |
| 1177 |
Medium |
Can Make Palindrome from Substring |
Can Make Palindrome from Substring.java |
| 1178 |
Undefined |
Number of Valid Words for Each Puzzle |
Number of Valid Words for Each Puzzle.java |
| 1184 |
Undefined |
Distance Between Bus Stops |
Distance Between Bus Stops.java |
| 1185 |
Undefined |
Day of the Week |
Day of the Week.java |
| 1186 |
Undefined |
Maximum Subarray Sum with One Deletion |
Maximum Subarray Sum with One Deletion.java |
| 1189 |
Easy |
Maximum Number of Balloons |
Maximum Number of Balloons.java |
| 1190 |
Undefined |
Reverse Substrings Between Each Pair of Parentheses |
Reverse Substrings Between Each Pair of Parentheses.java |
| 1191 |
Undefined |
K-Concatenation Maximum Sum |
K-Concatenation Maximum Sum.java |
| 1192 |
Hard |
Critical Connections in a Network |
Critical Connections in a Network.java |
| 1195 |
Undefined |
Fizz Buzz Multithreaded |
Fizz Buzz Multithreaded.java |
| 1200 |
Easy |
Minimum Absolute Difference |
Minimum Absolute Difference.java |
| 1202 |
Medium |
Smallest String With Swaps |
Smallest String With Swaps.java |
| 1209 |
Medium |
Remove All Adjacent Duplicates in String II |
Remove All Adjacent Duplicates in String II.java |
| 1217 |
Easy |
Minimum Cost to Move Chips to The Same Position |
Minimum Cost to Move Chips to The Same Position.java |
| 1218 |
Medium |
Longest Arithmetic Subsequence of Given Difference |
Longest Arithmetic Subsequence of Given Difference.java |
| 1219 |
Undefined |
Path with Maximum Gold |
Path with Maximum Gold.java |
| 1220 |
Hard |
Count Vowels Permutation |
Count Vowels Permutation.java |
| 1222 |
Undefined |
Queens That Can Attack the King |
Queens That Can Attack the King.java |
| 1223 |
Hard |
Dice Roll Simulation |
Dice Roll Simulation.java |
| 1227 |
Medium |
Airplane Seat Assignment Probability |
Airplane Seat Assignment Probability.java |
| 1232 |
Easy |
Check If It Is a Straight Line |
Check If It Is a Straight Line.java |
| 1233 |
Medium |
Remove Sub-Folders from the Filesystem |
Remove Sub-Folders from the Filesystem.java |
| 1234 |
Medium |
Replace the Substring for Balanced String |
Replace the Substring for Balanced String.java |
| 1235 |
Hard |
Maximum Profit in Job Scheduling |
Maximum Profit in Job Scheduling.java |
| 1237 |
Undefined |
Find Positive Integer Solution for a Given Equation |
Find Positive Integer Solution for a Given Equation.java |
| 1238 |
Medium |
Circular Permutation in Binary Representation |
Circular Permutation in Binary Representation.java |
| 1239 |
Medium |
Maximum Length of a Concatenated String with Unique Characters |
Maximum Length of a Concatenated String with Unique Characters.java |
| 1247 |
Medium |
Minimum Swaps to Make Strings Equal |
Minimum Swaps to Make Strings Equal.java |
| 1248 |
Medium |
Count Number of Nice Subarrays |
Count Number of Nice Subarrays.java |
| 1249 |
Medium |
Minimum Remove to Make Valid Parentheses |
Minimum Remove to Make Valid Parentheses.java |
| 1253 |
Undefined |
Reconstruct a 2-Row Binary Matrix |
Reconstruct a 2-Row Binary Matrix.java |
| 1254 |
Medium |
Number of Closed Islands |
Number of Closed Islands.java |
| 1255 |
Undefined |
Maximum Score Words Formed by Letters |
Maximum Score Words Formed by Letters.java |
| 1260 |
Easy |
Shift 2D Grid |
Shift 2D Grid.java |
| 1261 |
Undefined |
Find Elements in a Contaminated Binary Tree |
Find Elements in a Contaminated Binary Tree.java |
| 1262 |
Undefined |
Greatest Sum Divisible by Three |
Greatest Sum Divisible by Three.java |
| 1266 |
Undefined |
Minimum Time Visiting All Points |
Minimum Time Visiting All Points.java |
| 1267 |
Medium |
Count Servers that Communicate |
Count Servers that Communicate.java |
| 1268 |
Medium |
Search Suggestions System |
Search Suggestions System.java |
| 1269 |
Undefined |
Number of Ways to Stay in the Same Place After Some Steps |
Number of Ways to Stay in the Same Place After Some Steps.java |
| 1276 |
Medium |
Number of Burgers with No Waste of Ingredients |
Number of Burgers with No Waste of Ingredients.java |
| 1277 |
Medium |
Count Square Submatrices with All Ones |
Count Square Submatrices with All Ones.java |
| 1282 |
Undefined |
Group the People Given the Group Size They Belong To |
Group the People Given the Group Size They Belong To.java |
| 1283 |
Medium |
Find the Smallest Divisor Given a Threshold |
Find the Smallest Divisor Given a Threshold.java |
| 1284 |
Hard |
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix |
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix.java |
| 1286 |
Undefined |
Iterator for Combination |
Iterator for Combination.java |
| 1287 |
Undefined |
Element Appearing More Than 25% In Sorted Array |
Element Appearing More Than 25% In Sorted Array.java |
| 1288 |
Undefined |
Remove Covered Intervals |
Remove Covered Intervals.java |
| 1289 |
Undefined |
Minimum Falling Path Sum II |
Minimum Falling Path Sum II.java |
| 1290 |
Easy |
Convert Binary Number in a Linked List to Integer |
Convert Binary Number in a Linked List to Integer.java |
| 1291 |
Undefined |
Sequential Digits |
Sequential Digits.java |
| 1295 |
Undefined |
Find Numbers with Even Number of Digits |
Find Numbers with Even Number of Digits.java |
| 1296 |
Undefined |
Divide Array in Sets of K Consecutive Numbers |
Divide Array in Sets of K Consecutive Numbers.java |
| 1297 |
Medium |
Maximum Number of Occurrences of a Substring |
Maximum Number of Occurrences of a Substring.java |
| 1299 |
Undefined |
Replace Elements with Greatest Element on Right Side |
Replace Elements with Greatest Element on Right Side.java |
| 1302 |
Medium |
Deepest Leaves Sum |
Deepest Leaves Sum.java |
| 1305 |
Medium |
All Elements in Two Binary Search Trees |
All Elements in Two Binary Search Trees.java |
| 1306 |
Undefined |
Jump Game III |
Jump Game III.java |
| 1310 |
Undefined |
XOR Queries of a Subarray |
XOR Queries of a Subarray.java |
| 1311 |
Medium |
Get Watched Videos by Your Friends |
Get Watched Videos by Your Friends.java |
| 1312 |
Undefined |
Minimum Insertion Steps to Make a String Palindrome |
Minimum Insertion Steps to Make a String Palindrome.java |
| 1314 |
Undefined |
Matrix Block Sum |
Matrix Block Sum.java |
| 1317 |
Easy |
Convert Integer to the Sum of Two No-Zero Integers |
Convert Integer to the Sum of Two No-Zero Integers.java |
| 1318 |
Undefined |
Minimum Flips to Make a OR b Equal to c |
Minimum Flips to Make a OR b Equal to c.java |
| 1319 |
Undefined |
Number of Operations to Make Network Connected |
Number of Operations to Make Network Connected.java |
| 1320 |
Hard |
Minimum Distance to Type a Word Using Two Fingers |
Minimum Distance to Type a Word Using Two Fingers.java |
| 1324 |
Undefined |
Print Words Vertically |
Print Words Vertically.java |
| 1328 |
Medium |
Break a Palindrome |
Break a Palindrome.java |
| 1329 |
Medium |
Sort the Matrix Diagonally |
Sort the Matrix Diagonally.java |
| 1331 |
Undefined |
Rank Transform of an Array |
Rank Transform of an Array.java |
| 1332 |
Easy |
Remove Palindromic Subsequences |
Remove Palindromic Subsequences.java |
| 1334 |
Medium |
Find the City With the Smallest Number of Neighbors at a Threshold Distance |
Find the City With the Smallest Number of Neighbors at a Threshold Distance.java |
| 1335 |
Hard |
Minimum Difficulty of a Job Schedule |
Minimum Difficulty of a Job Schedule.java |
| 1337 |
Easy |
The K Weakest Rows in a Matrix |
The K Weakest Rows in a Matrix.java |
| 1338 |
Medium |
Reduce Array Size to The Half |
Reduce Array Size to The Half.java |
| 1339 |
Medium |
Maximum Product of Splitted Binary Tree |
Maximum Product of Splitted Binary Tree.java |
| 1342 |
Easy |
Number of Steps to Reduce a Number to Zero |
Number of Steps to Reduce a Number to Zero.java |
| 1343 |
Undefined |
Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold |
Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold.java |
| 1344 |
Easy |
Angle Between Hands of a Clock |
Angle Between Hands of a Clock.java |
| 1345 |
Hard |
Jump Game IV |
Jump Game IV.java |
| 1346 |
Undefined |
Check If N and Its Double Exist |
Check If N and Its Double Exist.java |
| 1347 |
Undefined |
Minimum Number of Steps to Make Two Strings Anagram |
Minimum Number of Steps to Make Two Strings Anagram.java |
| 1348 |
Medium |
Tweet Counts Per Frequency |
Tweet Counts Per Frequency.java |
| 1351 |
Easy |
Count Negative Numbers in a Sorted Matrix |
Count Negative Numbers in a Sorted Matrix.java |
| 1352 |
Medium |
Product of the Last K Numbers |
Product of the Last K Numbers.java |
| 1353 |
Medium |
Maximum Number of Events That Can Be Attended |
Maximum Number of Events That Can Be Attended.java |
| 1354 |
Hard |
Construct Target Array With Multiple Sums |
Construct Target Array With Multiple Sums.java |
| 1356 |
Easy |
Sort Integers by The Number of 1 Bits |
Sort Integers by The Number of 1 Bits.java |
| 1357 |
Medium |
Apply Discount Every n Orders |
Apply Discount Every n Orders.java |
| 1358 |
Undefined |
Number of Substrings Containing All Three Characters |
Number of Substrings Containing All Three Characters.java |
| 1360 |
Undefined |
Number of Days Between Two Dates |
Number of Days Between Two Dates.java |
| 1361 |
Undefined |
Validate Binary Tree Nodes |
Validate Binary Tree Nodes.java |
| 1365 |
Undefined |
How Many Numbers Are Smaller Than the Current Number |
How Many Numbers Are Smaller Than the Current Number.java |
| 1366 |
Undefined |
Rank Teams by Votes |
Rank Teams by Votes.java |
| 1367 |
Undefined |
Linked List in Binary Tree |
Linked List in Binary Tree.java |
| 1368 |
Hard |
Minimum Cost to Make at Least One Valid Path in a Grid |
Minimum Cost to Make at Least One Valid Path in a Grid.java |
| 1370 |
Undefined |
Increasing Decreasing String |
Increasing Decreasing String.java |
| 1371 |
Medium |
Find the Longest Substring Containing Vowels in Even Counts |
Find the Longest Substring Containing Vowels in Even Counts.java |
| 1372 |
Undefined |
Longest ZigZag Path in a Binary Tree |
Longest ZigZag Path in a Binary Tree.java |
| 1373 |
Hard |
Maximum Sum BST in Binary Tree |
Maximum Sum BST in Binary Tree.java |
| 1374 |
Undefined |
Generate a String With Characters That Have Odd Counts |
Generate a String With Characters That Have Odd Counts.java |
| 1375 |
Medium |
Bulb Switcher III |
Bulb Switcher III.java |
| 1376 |
Medium |
Time Needed to Inform All Employees |
Time Needed to Inform All Employees.java |
| 1377 |
Undefined |
Frog Position After T Seconds |
Frog Position After T Seconds.java |
| 1379 |
Medium |
Find a Corresponding Node of a Binary Tree in a Clone of That Tree |
Find a Corresponding Node of a Binary Tree in a Clone of That Tree.java |
| 1380 |
Undefined |
Lucky Numbers in a Matrix |
Lucky Numbers in a Matrix.java |
| 1381 |
Undefined |
Design a Stack With Increment Operation |
Design a Stack With Increment Operation.java |
| 1382 |
Undefined |
Balance a Binary Search Tree |
Balance a Binary Search Tree.java |
| 1383 |
Hard |
Maximum Performance of a Team |
Maximum Performance of a Team.java |
| 1385 |
Easy |
Find the Distance Value Between Two Arrays |
Find the Distance Value Between Two Arrays.java |
| 1387 |
Undefined |
Sort Integers by The Power Value |
Sort Integers by The Power Value.java |
| 1389 |
Undefined |
Create Target Array in the Given Order |
Create Target Array in the Given Order.java |
| 1390 |
Undefined |
Four Divisors |
Four Divisors.java |
| 1391 |
Medium |
Check if There is a Valid Path in a Grid |
Check if There is a Valid Path in a Grid.java |
| 1392 |
Undefined |
Longest Happy Prefix |
Longest Happy Prefix.java |
| 1394 |
Easy |
Find Lucky Integer in an Array |
Find Lucky Integer in an Array.java |
| 1395 |
Undefined |
Count Number of Teams |
Count Number of Teams.java |
| 1396 |
Medium |
Design Underground System |
Design Underground System.java |
| 1399 |
Undefined |
Count Largest Group |
Count Largest Group.java |
| 1400 |
Medium |
Construct K Palindrome Strings |
Construct K Palindrome Strings.java |
| 1401 |
Medium |
Circle and Rectangle Overlapping |
Circle and Rectangle Overlapping.java |
| 1402 |
Undefined |
Reducing Dishes |
Reducing Dishes.java |
| 1403 |
Undefined |
Minimum Subsequence in Non-Increasing Order |
Minimum Subsequence in Non-Increasing Order.java |
| 1404 |
Medium |
Number of Steps to Reduce a Number in Binary Representation to One |
Number of Steps to Reduce a Number in Binary Representation to One.java |
| 1405 |
Undefined |
Longest Happy String |
Longest Happy String.java |
| 1408 |
Undefined |
String Matching in an Array |
String Matching in an Array.java |
| 1409 |
Medium |
Queries on a Permutation With Key |
Queries on a Permutation With Key.java |
| 1410 |
Medium |
HTML Entity Parser |
HTML Entity Parser.java |
| 1413 |
Easy |
Minimum Value to Get Positive Step by Step Sum |
Minimum Value to Get Positive Step by Step Sum.java |
| 1414 |
Medium |
Find the Minimum Number of Fibonacci Numbers Whose Sum Is K |
Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.java |
| 1415 |
Medium |
The k-th Lexicographical String of All Happy Strings of Length n |
The k-th Lexicographical String of All Happy Strings of Length n.java |
| 1416 |
Undefined |
Restore The Array |
Restore The Array.java |
| 1417 |
Undefined |
Reformat The String |
Reformat The String.java |
| 1418 |
Undefined |
Display Table of Food Orders in a Restaurant |
Display Table of Food Orders in a Restaurant.java |
| 1419 |
Undefined |
Minimum Number of Frogs Croaking |
Minimum Number of Frogs Croaking.java |
| 1422 |
Undefined |
Maximum Score After Splitting a String |
Maximum Score After Splitting a String.java |
| 1423 |
Medium |
Maximum Points You Can Obtain from Cards |
Maximum Points You Can Obtain from Cards.java |
| 1424 |
Undefined |
Diagonal Traverse II |
Diagonal Traverse II.java |
| 1431 |
Easy |
Kids With the Greatest Number of Candies |
Kids With the Greatest Number of Candies.java |
| 1432 |
Undefined |
Max Difference You Can Get From Changing an Integer |
Max Difference You Can Get From Changing an Integer.java |
| 1433 |
Medium |
Check If a String Can Break Another String |
Check If a String Can Break Another String.java |
| 1436 |
Undefined |
Destination City |
Destination City.java |
| 1437 |
Easy |
Check If All 1's Are at Least Length K Places Away |
Check If All 1's Are at Least Length K Places Away.java |
| 1438 |
Undefined |
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit |
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit.java |
| 1439 |
Hard |
Find the Kth Smallest Sum of a Matrix With Sorted Rows |
Find the Kth Smallest Sum of a Matrix With Sorted Rows.java |
| 1441 |
Undefined |
Build an Array With Stack Operations |
Build an Array With Stack Operations.java |
| 1442 |
Undefined |
Count Triplets That Can Form Two Arrays of Equal XOR |
Count Triplets That Can Form Two Arrays of Equal XOR.java |
| 1443 |
Medium |
Minimum Time to Collect All Apples in a Tree |
Minimum Time to Collect All Apples in a Tree.java |
| 1446 |
Easy |
Consecutive Characters |
Consecutive Characters.java |
| 1447 |
Undefined |
Simplified Fractions |
Simplified Fractions.java |
| 1448 |
Medium |
Count Good Nodes in Binary Tree |
Count Good Nodes in Binary Tree.java |
| 1450 |
Undefined |
Number of Students Doing Homework at a Given Time |
Number of Students Doing Homework at a Given Time.java |
| 1451 |
Undefined |
Rearrange Words in a Sentence |
Rearrange Words in a Sentence.java |
| 1452 |
Undefined |
People Whose List of Favorite Companies Is Not a Subset of Another List |
People Whose List of Favorite Companies Is Not a Subset of Another List.java |
| 1455 |
Undefined |
Check If a Word Occurs As a Prefix of Any Word in a Sentence |
Check If a Word Occurs As a Prefix of Any Word in a Sentence.java |
| 1456 |
Undefined |
Maximum Number of Vowels in a Substring of Given Length |
Maximum Number of Vowels in a Substring of Given Length.java |
| 1457 |
Medium |
Pseudo-Palindromic Paths in a Binary Tree |
Pseudo-Palindromic Paths in a Binary Tree.java |
| 1460 |
Undefined |
Make Two Arrays Equal by Reversing Sub-arrays |
Make Two Arrays Equal by Reversing Sub-arrays.java |
| 1461 |
Medium |
Check If a String Contains All Binary Codes of Size K |
Check If a String Contains All Binary Codes of Size K.java |
| 1463 |
Hard |
Cherry Pickup II |
Cherry Pickup II.java |
| 1464 |
Undefined |
Maximum Product of Two Elements in an Array |
Maximum Product of Two Elements in an Array.java |
| 1465 |
Medium |
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts |
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts.java |
| 1466 |
Medium |
Reorder Routes to Make All Paths Lead to the City Zero |
Reorder Routes to Make All Paths Lead to the City Zero.java |
| 1470 |
Undefined |
Shuffle the Array |
Shuffle the Array.java |
| 1471 |
Medium |
The k Strongest Values in an Array |
The k Strongest Values in an Array.java |
| 1472 |
Undefined |
Design Browser History |
Design Browser History.java |
| 1475 |
Undefined |
Final Prices With a Special Discount in a Shop |
Final Prices With a Special Discount in a Shop.java |
| 1476 |
Undefined |
Subrectangle Queries |
Subrectangle Queries.java |
| 1480 |
Easy |
Running Sum of 1d Array |
Running Sum of 1d Array.java |
| 1481 |
Undefined |
Least Number of Unique Integers after K Removals |
Least Number of Unique Integers after K Removals.java |
| 1483 |
Undefined |
Kth Ancestor of a Tree Node |
Kth Ancestor of a Tree Node.java |
| 1486 |
Undefined |
XOR Operation in an Array |
XOR Operation in an Array.java |
| 1487 |
Medium |
Making File Names Unique |
Making File Names Unique.java |
| 1491 |
Undefined |
Average Salary Excluding the Minimum and Maximum Salary |
Average Salary Excluding the Minimum and Maximum Salary.java |
| 1492 |
Medium |
The kth Factor of n |
The kth Factor of n.java |
| 1493 |
Medium |
Longest Subarray of 1's After Deleting One Element |
Longest Subarray of 1's After Deleting One Element.java |
| 1496 |
Undefined |
Path Crossing |
Path Crossing.java |
| 1497 |
Undefined |
Check If Array Pairs Are Divisible by k |
Check If Array Pairs Are Divisible by k.java |
| 1502 |
Undefined |
Can Make Arithmetic Progression From Sequence |
Can Make Arithmetic Progression From Sequence.java |
| 1503 |
Undefined |
Last Moment Before All Ants Fall Out of a Plank |
Last Moment Before All Ants Fall Out of a Plank.java |
| 1504 |
Undefined |
Count Submatrices With All Ones |
Count Submatrices With All Ones.java |
| 1507 |
Undefined |
Reformat Date |
Reformat Date.java |
| 1508 |
Undefined |
Range Sum of Sorted Subarray Sums |
Range Sum of Sorted Subarray Sums.java |
| 1509 |
Undefined |
Minimum Difference Between Largest and Smallest Value in Three Moves |
Minimum Difference Between Largest and Smallest Value in Three Moves.java |
| 1510 |
Hard |
Stone Game IV |
Stone Game IV.java |
| 1512 |
Undefined |
Number of Good Pairs |
Number of Good Pairs.java |
| 1513 |
Medium |
Number of Substrings With Only 1s |
Number of Substrings With Only 1s.java |
| 1514 |
Undefined |
Path with Maximum Probability |
Path with Maximum Probability.java |
| 1518 |
Undefined |
Water Bottles |
Water Bottles.java |
| 1519 |
Undefined |
Number of Nodes in the Sub-Tree With the Same Label |
Number of Nodes in the Sub-Tree With the Same Label.java |
| 1523 |
Easy |
Count Odd Numbers in an Interval Range |
Count Odd Numbers in an Interval Range.java |
| 1524 |
Undefined |
Number of Sub-arrays With Odd Sum |
Number of Sub-arrays With Odd Sum.java |
| 1525 |
Undefined |
Number of Good Ways to Split a String |
Number of Good Ways to Split a String.java |
| 1528 |
Undefined |
Shuffle String |
Shuffle String.java |
| 1529 |
Undefined |
Bulb Switcher IV |
Bulb Switcher IV.java |
| 1530 |
Undefined |
Number of Good Leaf Nodes Pairs |
Number of Good Leaf Nodes Pairs.java |
| 1534 |
Undefined |
Count Good Triplets |
Count Good Triplets.java |
| 1535 |
Undefined |
Find the Winner of an Array Game |
Find the Winner of an Array Game.java |
| 1536 |
Medium |
Minimum Swaps to Arrange a Binary Grid |
Minimum Swaps to Arrange a Binary Grid.java |
| 1537 |
Undefined |
Get the Maximum Score |
Get the Maximum Score.java |
| 1539 |
Easy |
Kth Missing Positive Number |
Kth Missing Positive Number.java |
| 1540 |
Medium |
Can Convert String in K Moves |
Can Convert String in K Moves.java |
| 1541 |
Undefined |
Minimum Insertions to Balance a Parentheses String |
Minimum Insertions to Balance a Parentheses String.java |
| 1542 |
Hard |
Find Longest Awesome Substring |
Find Longest Awesome Substring.java |
| 1544 |
Undefined |
Make The String Great |
Make The String Great.java |
| 1545 |
Undefined |
Find Kth Bit in Nth Binary String |
Find Kth Bit in Nth Binary String.java |
| 1546 |
Undefined |
Maximum Number of Non-Overlapping Subarrays With Sum Equals Target |
Maximum Number of Non-Overlapping Subarrays With Sum Equals Target.java |
| 1550 |
Undefined |
Three Consecutive Odds |
Three Consecutive Odds.java |
| 1551 |
Medium |
Minimum Operations to Make Array Equal |
Minimum Operations to Make Array Equal.java |
| 1553 |
Undefined |
Minimum Number of Days to Eat N Oranges |
Minimum Number of Days to Eat N Oranges.java |
| 1556 |
Undefined |
Thousand Separator |
Thousand Separator.java |
| 1557 |
Undefined |
Minimum Number of Vertices to Reach All Nodes |
Minimum Number of Vertices to Reach All Nodes.java |
| 1558 |
Medium |
Minimum Numbers of Function Calls to Make Target Array |
Minimum Numbers of Function Calls to Make Target Array.java |
| 1559 |
Undefined |
Detect Cycles in 2D Grid |
Detect Cycles in 2D Grid.java |
| 1560 |
Undefined |
Most Visited Sector in a Circular Track |
Most Visited Sector in a Circular Track.java |
| 1561 |
Undefined |
Maximum Number of Coins You Can Get |
Maximum Number of Coins You Can Get.java |
| 1562 |
Medium |
Find Latest Group of Size M |
Find Latest Group of Size M.java |
| 1563 |
Undefined |
Stone Game V |
Stone Game V.java |
| 1566 |
Easy |
Detect Pattern of Length M Repeated K or More Times |
Detect Pattern of Length M Repeated K or More Times.java |
| 1567 |
Undefined |
Maximum Length of Subarray With Positive Product |
Maximum Length of Subarray With Positive Product.java |
| 1570 |
Medium |
Dot Product of Two Sparse Vectors |
Dot Product of Two Sparse Vectors.java |
| 1572 |
Undefined |
Matrix Diagonal Sum |
Matrix Diagonal Sum.java |
| 1573 |
Undefined |
Number of Ways to Split a String |
Number of Ways to Split a String.java |
| 1576 |
Undefined |
Replace All ?'s to Avoid Consecutive Repeating Characters |
Replace All ?'s to Avoid Consecutive Repeating Characters.java |
| 1577 |
Undefined |
Number of Ways Where Square of Number Is Equal to Product of Two Numbers |
Number of Ways Where Square of Number Is Equal to Product of Two Numbers.java |
| 1578 |
Medium |
Minimum Deletion Cost to Avoid Repeating Letters |
Minimum Deletion Cost to Avoid Repeating Letters.java |
| 1579 |
Hard |
Remove Max Number of Edges to Keep Graph Fully Traversable |
Remove Max Number of Edges to Keep Graph Fully Traversable.java |
| 1582 |
Undefined |
Special Positions in a Binary Matrix |
Special Positions in a Binary Matrix.java |
| 1583 |
Undefined |
Count Unhappy Friends |
Count Unhappy Friends.java |
| 1584 |
Medium |
Min Cost to Connect All Points |
Min Cost to Connect All Points.java |
| 1585 |
Hard |
Check If String Is Transformable With Substring Sort Operations |
Check If String Is Transformable With Substring Sort Operations.java |
| 1586 |
Medium |
Binary Search Tree Iterator II |
Binary Search Tree Iterator II.java |
| 1588 |
Undefined |
Sum of All Odd Length Subarrays |
Sum of All Odd Length Subarrays.java |
| 1589 |
Undefined |
Maximum Sum Obtained of Any Permutation |
Maximum Sum Obtained of Any Permutation.java |
| 1590 |
Medium |
Make Sum Divisible by P |
Make Sum Divisible by P.java |
| 1592 |
Undefined |
Rearrange Spaces Between Words |
Rearrange Spaces Between Words.java |
| 1593 |
Easy |
Split a String Into the Max Number of Unique Substrings |
Split a String Into the Max Number of Unique Substrings.java |
| 1594 |
Undefined |
Maximum Non Negative Product in a Matrix |
Maximum Non Negative Product in a Matrix.java |
| 1598 |
Easy |
Crawler Log Folder |
Crawler Log Folder.java |
| 1599 |
Medium |
Maximum Profit of Operating a Centennial Wheel |
Maximum Profit of Operating a Centennial Wheel.java |
| 1600 |
Undefined |
Throne Inheritance |
Throne Inheritance.java |
| 1603 |
Easy |
Design Parking System |
Design Parking System.java |
| 1604 |
Medium |
Alert Using Same Key-Card Three or More Times in a One Hour Period |
Alert Using Same Key-Card Three or More Times in a One Hour Period.java |
| 1605 |
Undefined |
Find Valid Matrix Given Row and Column Sums |
Find Valid Matrix Given Row and Column Sums.java |
| 1606 |
Hard |
Find Servers That Handled Most Number of Requests |
Find Servers That Handled Most Number of Requests.java |
| 1608 |
Undefined |
Special Array With X Elements Greater Than or Equal X |
Special Array With X Elements Greater Than or Equal X.java |
| 1609 |
Undefined |
Even Odd Tree |
Even Odd Tree.java |
| 1611 |
Undefined |
Minimum One Bit Operations to Make Integers Zero |
Minimum One Bit Operations to Make Integers Zero.java |
| 1614 |
Undefined |
Maximum Nesting Depth of the Parentheses |
Maximum Nesting Depth of the Parentheses.java |
| 1615 |
Undefined |
Maximal Network Rank |
Maximal Network Rank.java |
| 1616 |
Undefined |
Split Two Strings to Make Palindrome |
Split Two Strings to Make Palindrome.java |
| 1619 |
Easy |
Mean of Array After Removing Some Elements |
Mean of Array After Removing Some Elements.java |
| 1620 |
Undefined |
Coordinate With Maximum Network Quality |
Coordinate With Maximum Network Quality.java |
| 1624 |
Undefined |
Largest Substring Between Two Equal Characters |
Largest Substring Between Two Equal Characters.java |
| 1625 |
Undefined |
Lexicographically Smallest String After Applying Operations |
Lexicographically Smallest String After Applying Operations.java |
| 1626 |
Medium |
Best Team With No Conflicts |
Best Team With No Conflicts.java |
| 1629 |
Easy |
Slowest Key |
Slowest Key.java |
| 1630 |
Medium |
Arithmetic Subarrays |
Arithmetic Subarrays.java |
| 1631 |
Medium |
Path With Minimum Effort |
Path With Minimum Effort.java |
| 1632 |
Hard |
Rank Transform of a Matrix |
Rank Transform of a Matrix.java |
| 1636 |
Undefined |
Sort Array by Increasing Frequency |
Sort Array by Increasing Frequency.java |
| 1637 |
Undefined |
Widest Vertical Area Between Two Points Containing No Points |
Widest Vertical Area Between Two Points Containing No Points.java |
| 1638 |
Undefined |
Count Substrings That Differ by One Character |
Count Substrings That Differ by One Character.java |
| 1639 |
Undefined |
Number of Ways to Form a Target String Given a Dictionary |
Number of Ways to Form a Target String Given a Dictionary.java |
| 1640 |
Easy |
Check Array Formation Through Concatenation |
Check Array Formation Through Concatenation.java |
| 1641 |
Medium |
Count Sorted Vowel Strings |
Count Sorted Vowel Strings.java |
| 1642 |
Medium |
Furthest Building You Can Reach |
Furthest Building You Can Reach.java |
| 1646 |
Easy |
Get Maximum in Generated Array |
Get Maximum in Generated Array.java |
| 1647 |
Medium |
Minimum Deletions to Make Character Frequencies Unique |
Minimum Deletions to Make Character Frequencies Unique.java |
| 1649 |
Hard |
Create Sorted Array through Instructions |
Create Sorted Array through Instructions.java |
| 1652 |
Easy |
Defuse the Bomb |
Defuse the Bomb.java |
| 1653 |
Medium |
Minimum Deletions to Make String Balanced |
Minimum Deletions to Make String Balanced.java |
| 1656 |
Easy |
Design an Ordered Stream |
Design an Ordered Stream.java |
| 1657 |
Medium |
Determine if Two Strings Are Close |
Determine if Two Strings Are Close.java |
| 1658 |
Medium |
Minimum Operations to Reduce X to Zero |
Minimum Operations to Reduce X to Zero.java |
| 1662 |
Easy |
Check If Two String Arrays are Equivalent |
Check If Two String Arrays are Equivalent.java |
| 1663 |
Medium |
Smallest String With A Given Numeric Value |
Smallest String With A Given Numeric Value.java |
| 1664 |
Medium |
Ways to Make a Fair Array |
Ways to Make a Fair Array.java |
| 1665 |
Hard |
Minimum Initial Energy to Finish Tasks |
Minimum Initial Energy to Finish Tasks.java |
| 1668 |
Easy |
Maximum Repeating Substring |
Maximum Repeating Substring.java |
| 1669 |
Medium |
Merge In Between Linked Lists |
Merge In Between Linked Lists.java |
| 1670 |
Medium |
Design Front Middle Back Queue |
Design Front Middle Back Queue.java |
| 1672 |
Easy |
Richest Customer Wealth |
Richest Customer Wealth.java |
| 1673 |
Medium |
Find the Most Competitive Subsequence |
Find the Most Competitive Subsequence.java |
| 1674 |
Medium |
Minimum Moves to Make Array Complementary |
Minimum Moves to Make Array Complementary.java |
| 1675 |
Hard |
Minimize Deviation in Array |
Minimize Deviation in Array.java |
| 1678 |
Easy |
Goal Parser Interpretation |
Goal Parser Interpretation.java |
| 1679 |
Medium |
Max Number of K-Sum Pairs |
Max Number of K-Sum Pairs.java |
| 1680 |
Medium |
Concatenation of Consecutive Binary Numbers |
Concatenation of Consecutive Binary Numbers.java |
| 1684 |
Easy |
Count the Number of Consistent Strings |
Count the Number of Consistent Strings.java |
| 1685 |
Medium |
Sum of Absolute Differences in a Sorted Array |
Sum of Absolute Differences in a Sorted Array.java |
| 1688 |
Easy |
Count of Matches in Tournament |
Count of Matches in Tournament.java |
| 1689 |
Medium |
Partitioning Into Minimum Number Of Deci-Binary Numbers |
Partitioning Into Minimum Number Of Deci-Binary Numbers.java |
| 1690 |
Medium |
Stone Game VII |
Stone Game VII.java |
| 1694 |
Easy |
Reformat Phone Number |
Reformat Phone Number.java |
| 1695 |
Medium |
Maximum Erasure Value |
Maximum Erasure Value.java |
| 1696 |
Medium |
Jump Game VI |
Jump Game VI.java |
| 1700 |
Easy |
Number of Students Unable to Eat Lunch |
Number of Students Unable to Eat Lunch.java |
| 1701 |
Medium |
Average Waiting Time |
Average Waiting Time.java |
| 1702 |
Medium |
Maximum Binary String After Change |
Maximum Binary String After Change.java |
| 1704 |
Easy |
Determine if String Halves Are Alike |
Determine if String Halves Are Alike.java |
| 1705 |
Medium |
Maximum Number of Eaten Apples |
Maximum Number of Eaten Apples.java |
| 1706 |
Medium |
Where Will the Ball Fall |
Where Will the Ball Fall.java |
| 1710 |
Easy |
Maximum Units on a Truck |
Maximum Units on a Truck.java |
| 1711 |
Medium |
Count Good Meals |
Count Good Meals.java |
| 1716 |
Easy |
Calculate Money in Leetcode Bank |
Calculate Money in Leetcode Bank.java |
| 1717 |
Medium |
Maximum Score From Removing Substrings |
Maximum Score From Removing Substrings.java |
| 1718 |
Medium |
Construct the Lexicographically Largest Valid Sequence |
Construct the Lexicographically Largest Valid Sequence.java |
| 1720 |
Easy |
Decode XORed Array |
Decode XORed Array.java |
| 1721 |
Medium |
Swapping Nodes in a Linked List |
Swapping Nodes in a Linked List.java |
| 1722 |
Medium |
Minimize Hamming Distance After Swap Operations |
Minimize Hamming Distance After Swap Operations.java |
| 1725 |
Easy |
Number Of Rectangles That Can Form The Largest Square |
Number Of Rectangles That Can Form The Largest Square.java |
| 1726 |
Medium |
Tuple with Same Product |
Tuple with Same Product.java |
| 1727 |
Medium |
Largest Submatrix With Rearrangements |
Largest Submatrix With Rearrangements.java |
| 1732 |
Easy |
Find the Highest Altitude |
Find the Highest Altitude.java |
| 1733 |
Medium |
Minimum Number of People to Teach |
Minimum Number of People to Teach.java |
| 1736 |
Easy |
Latest Time by Replacing Hidden Digits |
Latest Time by Replacing Hidden Digits.java |
| 1737 |
Medium |
Change Minimum Characters to Satisfy One of Three Conditions |
Change Minimum Characters to Satisfy One of Three Conditions.java |
| 1738 |
Medium |
Find Kth Largest XOR Coordinate Value |
Find Kth Largest XOR Coordinate Value.java |
| 1740 |
Easy |
Find Distance in a Binary Tree |
Find Distance in a Binary Tree.java |
| 1742 |
Easy |
Maximum Number of Balls in a Box |
Maximum Number of Balls in a Box.java |
| 1743 |
Medium |
Restore the Array From Adjacent Pairs |
Restore the Array From Adjacent Pairs.java |
| 1746 |
Medium |
Maximum Subarray Sum After One Operation |
Maximum Subarray Sum After One Operation.java |
| 1748 |
Easy |
Sum of Unique Elements |
Sum of Unique Elements.java |
| 1750 |
Medium |
Minimum Length of String After Deleting Similar Ends |
Minimum Length of String After Deleting Similar Ends.java |
| 1752 |
Easy |
Check if Array Is Sorted and Rotated |
Check if Array Is Sorted and Rotated.java |
| 1753 |
Medium |
Maximum Score From Removing Stones |
Maximum Score From Removing Stones.java |
| 1754 |
Medium |
Largest Merge Of Two Strings |
Largest Merge Of Two Strings.java |
| 1758 |
Easy |
Minimum Changes To Make Alternating Binary String |
Minimum Changes To Make Alternating Binary String.java |
| 1759 |
Medium |
Count Number of Homogenous Substrings |
Count Number of Homogenous Substrings.java |
| 1760 |
Medium |
Minimum Limit of Balls in a Bag |
Minimum Limit of Balls in a Bag.java |
| 1763 |
Easy |
Longest Nice Substring |
Longest Nice Substring.java |
| 1764 |
Medium |
Form Array by Concatenating Subarrays of Another Array |
Form Array by Concatenating Subarrays of Another Array.java |
| 1765 |
Medium |
Map of Highest Peak |
Map of Highest Peak.java |
| 1768 |
Easy |
Merge Strings Alternately |
Merge Strings Alternately.java |
| 1769 |
Medium |
Minimum Number of Operations to Move All Balls to Each Box |
Minimum Number of Operations to Move All Balls to Each Box.java |
| 1770 |
Medium |
Maximum Score from Performing Multiplication Operations |
Maximum Score from Performing Multiplication Operations.java |
| 1773 |
Easy |
Count Items Matching a Rule |
Count Items Matching a Rule.java |
| 1774 |
Medium |
Closest Dessert Cost |
Closest Dessert Cost.java |
| 1775 |
Medium |
Equal Sum Arrays With Minimum Number of Operations |
Equal Sum Arrays With Minimum Number of Operations.java |
| 1779 |
Easy |
Find Nearest Point That Has the Same X or Y Coordinate |
Find Nearest Point That Has the Same X or Y Coordinate.java |
| 1780 |
Medium |
Check if Number is a Sum of Powers of Three |
Check if Number is a Sum of Powers of Three.java |
| 1781 |
Medium |
Sum of Beauty of All Substrings |
Sum of Beauty of All Substrings.java |
| 1784 |
Easy |
Check if Binary String Has at Most One Segment of Ones |
Check if Binary String Has at Most One Segment of Ones.java |
| 1785 |
Medium |
Minimum Elements to Add to Form a Given Sum |
Minimum Elements to Add to Form a Given Sum.java |
| 1790 |
Easy |
Check if One String Swap Can Make Strings Equal |
Check if One String Swap Can Make Strings Equal.java |
| 1791 |
Medium |
Find Center of Star Graph |
Find Center of Star Graph.java |
| 1792 |
Medium |
Maximum Average Pass Ratio |
Maximum Average Pass Ratio.java |
| 1796 |
Easy |
Second Largest Digit in a String |
Second Largest Digit in a String.java |
| 1797 |
Medium |
Design Authentication Manager |
Design Authentication Manager.java |
| 1798 |
Medium |
Maximum Number of Consecutive Values You Can Make |
Maximum Number of Consecutive Values You Can Make.java |
| 1800 |
Easy |
Maximum Ascending Subarray Sum |
Maximum Ascending Subarray Sum.java |
| 1801 |
Medium |
Number of Orders in the Backlog |
Number of Orders in the Backlog.java |
| 1802 |
Medium |
Maximum Value at a Given Index in a Bounded Array |
Maximum Value at a Given Index in a Bounded Array.java |
| 1805 |
Easy |
Number of Different Integers in a String |
Number of Different Integers in a String.java |
| 1806 |
Medium |
Minimum Number of Operations to Reinitialize a Permutation |
Minimum Number of Operations to Reinitialize a Permutation.java |
| 1807 |
Medium |
Evaluate the Bracket Pairs of a String |
Evaluate the Bracket Pairs of a String.java |
| 1812 |
Easy |
Determine Color of a Chessboard Square |
Determine Color of a Chessboard Square.java |
| 1814 |
Medium |
Count Nice Pairs in an Array |
Count Nice Pairs in an Array.java |
| 1822 |
Easy |
Sign of the Product of an Array |
Sign of the Product of an Array.java |
| 1823 |
Medium |
Find the Winner of the Circular Game |
Find the Winner of the Circular Game.java |
| 1824 |
Medium |
Minimum Sideway Jumps |
Minimum Sideway Jumps.java |
| 1827 |
Easy |
Minimum Operations to Make the Array Increasing |
Minimum Operations to Make the Array Increasing.java |
| 1828 |
Medium |
Queries on Number of Points Inside a Circle |
Queries on Number of Points Inside a Circle.java |
| 1829 |
Medium |
Maximum XOR for Each Query |
Maximum XOR for Each Query.java |
| 1832 |
Easy |
Check if the Sentence Is Pangram |
Check if the Sentence Is Pangram.java |
| 1833 |
Medium |
Maximum Ice Cream Bars |
Maximum Ice Cream Bars.java |
| 1834 |
Medium |
Single-Threaded CPU |
Single-Threaded CPU.java |
| 1835 |
Hard |
Find XOR Sum of All Pairs Bitwise AND |
Find XOR Sum of All Pairs Bitwise AND.java |
| 1837 |
Easy |
Sum of Digits in Base K |
Sum of Digits in Base K.java |
| 1838 |
Medium |
Frequency of the Most Frequent Element |
Frequency of the Most Frequent Element.java |
| 1839 |
Medium |
Longest Substring Of All Vowels in Order |
Longest Substring Of All Vowels in Order.java |
| 1844 |
Medium |
Replace All Digits with Characters |
Replace All Digits with Characters.java |
| 1845 |
Medium |
Seat Reservation Manager |
Seat Reservation Manager.java |
| 1846 |
Medium |
Maximum Element After Decreasing and Rearranging |
Maximum Element After Decreasing and Rearranging.java |
| 1848 |
Easy |
Minimum Distance to the Target Element |
Minimum Distance to the Target Element.java |
| 1849 |
Medium |
Splitting a String Into Descending Consecutive Values |
Splitting a String Into Descending Consecutive Values.java |
| 1850 |
Medium |
Minimum Adjacent Swaps to Reach the Kth Smallest Number |
Minimum Adjacent Swaps to Reach the Kth Smallest Number.java |
| 1856 |
Medium |
Maximum Subarray Min-Product |
Maximum Subarray Min-Product.java |
| 1858 |
Medium |
Longest Word With All Prefixes |
Longest Word With All Prefixes.java |
| 1859 |
Easy |
Sorting the Sentence |
Sorting the Sentence.java |
| 1860 |
Medium |
Incremental Memory Leak |
Incremental Memory Leak.java |
| 1861 |
Medium |
Rotating the Box |
Rotating the Box.java |
| 1863 |
Easy |
Sum of All Subset XOR Totals |
Sum of All Subset XOR Totals.java |
| 1864 |
Medium |
Minimum Number of Swaps to Make the Binary String Alternating |
Minimum Number of Swaps to Make the Binary String Alternating.java |
| 1865 |
Medium |
Finding Pairs With a Certain Sum |
Finding Pairs With a Certain Sum.java |
| 1869 |
Easy |
Longer Contiguous Segments of Ones than Zeros |
Longer Contiguous Segments of Ones than Zeros.java |
| 1870 |
Medium |
Minimum Speed to Arrive on Time |
Minimum Speed to Arrive on Time.java |
| 1871 |
Medium |
Jump Game VII |
Jump Game VII.java |
| 1876 |
Easy |
Substrings of Size Three with Distinct Characters |
Substrings of Size Three with Distinct Characters.java |
| 1877 |
Medium |
Minimize Maximum Pair Sum in Array |
Minimize Maximum Pair Sum in Array.java |
| 1878 |
Medium |
Get Biggest Three Rhombus Sums in a Grid |
Get Biggest Three Rhombus Sums in a Grid.java |
| 1879 |
Hard |
Minimum XOR Sum of Two Arrays |
Minimum XOR Sum of Two Arrays.java |
| 1880 |
Easy |
Check if Word Equals Summation of Two Words |
Check if Word Equals Summation of Two Words.java |
| 1881 |
Medium |
Maximum Value after Insertion |
Maximum Value after Insertion.java |
| 1882 |
Medium |
Process Tasks Using Servers |
Process Tasks Using Servers.java |
| 1886 |
Easy |
Determine Whether Matrix Can Be Obtained By Rotation |
Determine Whether Matrix Can Be Obtained By Rotation.java |
| 1887 |
Medium |
Reduction Operations to Make the Array Elements Equal |
Reduction Operations to Make the Array Elements Equal.java |
| 1888 |
Medium |
Minimum Number of Flips to Make the Binary String Alternating |
Minimum Number of Flips to Make the Binary String Alternating.java |
| 1891 |
Medium |
Cutting Ribbons |
Cutting Ribbons.java |
| 1893 |
Easy |
Check if All the Integers in a Range Are Covered |
Check if All the Integers in a Range Are Covered.java |
| 1894 |
Medium |
Find the Student that Will Replace the Chalk |
Find the Student that Will Replace the Chalk.java |
| 1895 |
Medium |
Largest Magic Square |
Largest Magic Square.java |
| 1897 |
Easy |
Redistribute Characters to Make All Strings Equal |
Redistribute Characters to Make All Strings Equal.java |
| 1903 |
Easy |
Largest Odd Number in String |
Largest Odd Number in String.java |
| 1904 |
Medium |
The Number of Full Rounds You Have Played |
The Number of Full Rounds You Have Played.java |
| 1905 |
Medium |
Count Sub Islands |
Count Sub Islands.java |
| 1909 |
Easy |
Remove One Element to Make the Array Strictly Increasing |
Remove One Element to Make the Array Strictly Increasing.java |
| 1910 |
Medium |
Remove All Occurrences of a Substring |
Remove All Occurrences of a Substring.java |
| 1911 |
Medium |
Maximum Alternating Subsequence Sum |
Maximum Alternating Subsequence Sum.java |
| 1912 |
Hard |
Design Movie Rental System |
Design Movie Rental System.java |
| 1913 |
Easy |
Maximum Product Difference Between Two Pairs |
Maximum Product Difference Between Two Pairs.java |
| 1914 |
Medium |
Cyclically Rotating a Grid |
Cyclically Rotating a Grid.java |
| 1920 |
Easy |
Build Array from Permutation |
Build Array from Permutation.java |
| 1921 |
Medium |
Eliminate Maximum Number of Monsters |
Eliminate Maximum Number of Monsters.java |
| 1922 |
Medium |
Count Good Numbers |
Count Good Numbers.java |
| 1925 |
Easy |
Count Square Sum Triples |
Count Square Sum Triples.java |
| 1926 |
Medium |
Nearest Exit from Entrance in Maze |
Nearest Exit from Entrance in Maze.java |
| 1929 |
Easy |
Concatenation of Array |
Concatenation of Array.java |
| 1930 |
Medium |
Unique Length-3 Palindromic Subsequences |
Unique Length-3 Palindromic Subsequences.java |
| 1933 |
Easy |
Check if String Is Decomposable Into Value-Equal Substrings |
Check if String Is Decomposable Into Value-Equal Substrings.java |
| 1935 |
Easy |
Maximum Number of Words You Can Type |
Maximum Number of Words You Can Type.java |
| 1936 |
Medium |
Add Minimum Number of Rungs |
Add Minimum Number of Rungs.java |
| 1941 |
Easy |
Check if All Characters Have Equal Number of Occurrences |
Check if All Characters Have Equal Number of Occurrences.java |
| 1942 |
Medium |
The Number of the Smallest Unoccupied Chair |
The Number of the Smallest Unoccupied Chair.java |
| 1943 |
Medium |
Describe the Painting |
Describe the Painting.java |
| 1945 |
Easy |
Sum of Digits of String After Convert |
Sum of Digits of String After Convert.java |
| 1946 |
Medium |
Largest Number After Mutating Substring |
Largest Number After Mutating Substring.java |
| 1947 |
Medium |
Maximum Compatibility Score Sum |
Maximum Compatibility Score Sum.java |
| 1952 |
Easy |
Three Divisors |
Three Divisors.java |
| 1957 |
Easy |
Delete Characters to Make Fancy String |
Delete Characters to Make Fancy String.java |
| 1958 |
Medium |
Check if Move is Legal |
Check if Move is Legal.java |
| 1961 |
Easy |
Check If String Is a Prefix of Array |
Check If String Is a Prefix of Array.java |
| 1962 |
Medium |
Remove Stones to Minimize the Total |
Remove Stones to Minimize the Total.java |
| 1963 |
Medium |
Minimum Number of Swaps to Make the String Balanced |
Minimum Number of Swaps to Make the String Balanced.java |
| 1967 |
Easy |
Number of Strings That Appear as Substrings in Word |
Number of Strings That Appear as Substrings in Word.java |
| 1968 |
Medium |
Array With Elements Not Equal to Average of Neighbors |
Array With Elements Not Equal to Average of Neighbors.java |
| 1971 |
Easy |
Find if Path Exists in Graph |
Find if Path Exists in Graph.java |
| 1974 |
Easy |
Minimum Time to Type Word Using Special Typewriter |
Minimum Time to Type Word Using Special Typewriter.java |
| 1975 |
Medium |
Maximum Matrix Sum |
Maximum Matrix Sum.java |
| 1979 |
Easy |
Find Greatest Common Divisor of Array |
Find Greatest Common Divisor of Array.java |
| 1980 |
Medium |
Find Unique Binary String |
Find Unique Binary String.java |
| 1981 |
Medium |
Minimize the Difference Between Target and Chosen Elements |
Minimize the Difference Between Target and Chosen Elements.java |
| 1984 |
Easy |
Minimum Difference Between Highest and Lowest of K Scores |
Minimum Difference Between Highest and Lowest of K Scores.java |
| 1985 |
Medium |
Find the Kth Largest Integer in the Array |
Find the Kth Largest Integer in the Array.java |
| 1987 |
Medium |
Minimum Number of Work Sessions to Finish the Tasks |
Minimum Number of Work Sessions to Finish the Tasks.java |
| 1991 |
Easy |
Find the Middle Index in Array |
Find the Middle Index in Array.java |
| 1992 |
Medium |
Find All Groups of Farmland |
Find All Groups of Farmland.java |
| 1993 |
Medium |
Operations on Tree |
Operations on Tree.java |
| 1995 |
Easy |
Count Special Quadruplets |
Count Special Quadruplets.java |
| 2000 |
Easy |
Reverse Prefix of Word |
Reverse Prefix of Word.java |
| 2001 |
Medium |
Number of Pairs of Interchangeable Rectangles |
Number of Pairs of Interchangeable Rectangles.java |
| 2006 |
Easy |
Count Number of Pairs With Absolute Difference K |
Count Number of Pairs With Absolute Difference K.java |
| 2007 |
Medium |
Find Original Array From Doubled Array |
Find Original Array From Doubled Array.java |
| 2008 |
Medium |
Maximum Earnings From Taxi |
Maximum Earnings From Taxi.java |
| 2011 |
Easy |
Final Value of Variable After Performing Operations |
Final Value of Variable After Performing Operations.java |
| 2012 |
Medium |
Sum of Beauty in the Array |
Sum of Beauty in the Array.java |
| 2013 |
Medium |
Detect Squares |
Detect Squares.java |
| 2016 |
Easy |
Maximum Difference Between Increasing Elements |
Maximum Difference Between Increasing Elements.java |
| 2019 |
Hard |
Sum of k-Mirror Numbers |
Sum of k-Mirror Numbers.java |
| 2022 |
Easy |
Convert 1D Array Into 2D Array |
Convert 1D Array Into 2D Array.java |
| 2023 |
Medium |
Number of Pairs of Strings With Concatenation Equal to Target |
Number of Pairs of Strings With Concatenation Equal to Target.java |
| 2024 |
Medium |
Maximize the Confusion of an Exam |
Maximize the Confusion of an Exam.java |
| 2027 |
Easy |
Minimum Moves to Convert String |
Minimum Moves to Convert String.java |
| 2028 |
Medium |
Find Missing Observations |
Find Missing Observations.java |
| 2032 |
Easy |
Two Out of Three |
Two Out of Three.java |
| 2033 |
Medium |
Minimum Operations to Make a Uni-Value Grid |
Minimum Operations to Make a Uni-Value Grid.java |
| 2037 |
Easy |
Minimum Number of Moves to Seat Everyone |
Minimum Number of Moves to Seat Everyone.java |
| 2038 |
Medium |
Remove Colored Pieces if Both Neighbors are the Same Color |
Remove Colored Pieces if Both Neighbors are the Same Color.java |
| 2039 |
Medium |
The Time When the Network Becomes Idle |
The Time When the Network Becomes Idle.java |
| 2042 |
Easy |
Check if Numbers Are Ascending in a Sentence |
Check if Numbers Are Ascending in a Sentence.java |
| 2043 |
Medium |
Simple Bank System |
Simple Bank System.java |
| 2044 |
Medium |
Count Number of Maximum Bitwise-OR Subsets |
Count Number of Maximum Bitwise-OR Subsets.java |
| 2047 |
Easy |
Number of Valid Words in a Sentence |
Number of Valid Words in a Sentence.java |
| 2048 |
Medium |
Next Greater Numerically Balanced Number |
Next Greater Numerically Balanced Number.java |
| 2053 |
Easy |
Kth Distinct String in an Array |
Kth Distinct String in an Array.java |
| 2054 |
Medium |
Two Best Non-Overlapping Events |
Two Best Non-Overlapping Events.java |
| 2055 |
Medium |
Plates Between Candles |
Plates Between Candles.java |
| 2057 |
Easy |
Smallest Index With Equal Value |
Smallest Index With Equal Value.java |
| 2062 |
Easy |
Count Vowel Substrings of a String |
Count Vowel Substrings of a String.java |
| 2063 |
Medium |
Vowels of All Substrings |
Vowels of All Substrings.java |
| 2068 |
Easy |
Check Whether Two Strings are Almost Equivalent |
Check Whether Two Strings are Almost Equivalent.java |
| 2070 |
Medium |
Most Beautiful Item for Each Query |
Most Beautiful Item for Each Query.java |
| 2073 |
Easy |
Time Needed to Buy Tickets |
Time Needed to Buy Tickets.java |
| 2074 |
Medium |
Reverse Nodes in Even Length Groups |
Reverse Nodes in Even Length Groups.java |
| 2075 |
Medium |
Decode the Slanted Ciphertext |
Decode the Slanted Ciphertext.java |
| 2078 |
Easy |
Two Furthest Houses With Different Colors |
Two Furthest Houses With Different Colors.java |
| 2079 |
Medium |
Watering Plants |
Watering Plants.java |
| 2080 |
Medium |
Range Frequency Queries |
Range Frequency Queries.java |
| 2085 |
Easy |
Count Common Words With One Occurrence |
Count Common Words With One Occurrence.java |
| 2086 |
Medium |
Minimum Number of Buckets Required to Collect Rainwater from Houses |
Minimum Number of Buckets Required to Collect Rainwater from Houses.java |
| 2087 |
Medium |
Minimum Cost Homecoming of a Robot in a Grid |
Minimum Cost Homecoming of a Robot in a Grid.java |
| 2089 |
Easy |
Find Target Indices After Sorting Array |
Find Target Indices After Sorting Array.java |
| 2090 |
Medium |
K Radius Subarray Averages |
K Radius Subarray Averages.java |
| 2091 |
Medium |
Removing Minimum and Maximum From Array |
Removing Minimum and Maximum From Array.java |
| 2094 |
Easy |
Finding 3-Digit Even Numbers |
Finding 3-Digit Even Numbers.java |
| 2095 |
Medium |
Delete the Middle Node of a Linked List |
Delete the Middle Node of a Linked List.java |
| 2096 |
Medium |
Step-By-Step Directions From a Binary Tree Node to Another |
Step-By-Step Directions From a Binary Tree Node to Another.java |
| 2099 |
Easy |
Find Subsequence of Length K With the Largest Sum |
Find Subsequence of Length K With the Largest Sum.java |
| 2100 |
Medium |
Find Good Days to Rob the Bank |
Find Good Days to Rob the Bank.java |
| 2101 |
Medium |
Detonate the Maximum Bombs |
Detonate the Maximum Bombs.java |
| 2103 |
Easy |
Rings and Rods |
Rings and Rods.java |
| 2104 |
Medium |
Sum of Subarray Ranges |
Sum of Subarray Ranges.java |
| 2105 |
Medium |
Watering Plants II |
Watering Plants II.java |
| 2108 |
Easy |
Find First Palindromic String in the Array |
Find First Palindromic String in the Array.java |
| 2109 |
Medium |
Adding Spaces to a String |
Adding Spaces to a String.java |
| 2110 |
Medium |
Number of Smooth Descent Periods of a Stock |
Number of Smooth Descent Periods of a Stock.java |
| 2114 |
Easy |
Maximum Number of Words Found in Sentences |
Maximum Number of Words Found in Sentences.java |
| 2115 |
Medium |
Find All Possible Recipes from Given Supplies |
Find All Possible Recipes from Given Supplies.java |
| 2116 |
Medium |
Check if a Parentheses String Can Be Valid |
Check if a Parentheses String Can Be Valid.java |
| 2119 |
Easy |
A Number After a Double Reversal |
A Number After a Double Reversal.java |
| 2120 |
Medium |
Execution of All Suffix Instructions Staying in a Grid |
Execution of All Suffix Instructions Staying in a Grid.java |
| 2121 |
Medium |
Intervals Between Identical Elements |
Intervals Between Identical Elements.java |
| 2124 |
Easy |
Check if All A's Appears Before All B's |
Check if All A's Appears Before All B's.java |
| 2125 |
Medium |
Number of Laser Beams in a Bank |
Number of Laser Beams in a Bank.java |
| 2126 |
Medium |
Destroying Asteroids |
Destroying Asteroids.java |
| 2129 |
Easy |
Capitalize the Title |
Capitalize the Title.java |
| 2130 |
Medium |
Maximum Twin Sum of a Linked List |
Maximum Twin Sum of a Linked List.java |
| 2131 |
Medium |
Longest Palindrome by Concatenating Two Letter Words |
Longest Palindrome by Concatenating Two Letter Words.java |
| 2133 |
Easy |
Check if Every Row and Column Contains All Numbers |
Check if Every Row and Column Contains All Numbers.java |
| 2134 |
Medium |
Minimum Swaps to Group All 1's Together II |
Minimum Swaps to Group All 1's Together II.java |
| 2138 |
Easy |
Divide a String Into Groups of Size k |
Divide a String Into Groups of Size k.java |
| 2139 |
Medium |
Minimum Moves to Reach Target Score |
Minimum Moves to Reach Target Score.java |
| 2140 |
Medium |
Solving Questions With Brainpower |
Solving Questions With Brainpower.java |
| 2144 |
Easy |
Minimum Cost of Buying Candies With Discount |
Minimum Cost of Buying Candies With Discount.java |
| 2145 |
Medium |
Count the Hidden Sequences |
Count the Hidden Sequences.java |
| 2146 |
Medium |
K Highest Ranked Items Within a Price Range |
K Highest Ranked Items Within a Price Range.java |
| 2148 |
Easy |
Count Elements With Strictly Smaller and Greater Elements |
Count Elements With Strictly Smaller and Greater Elements.java |
| 2149 |
Medium |
Rearrange Array Elements by Sign |
Rearrange Array Elements by Sign.java |
| 2150 |
Medium |
Find All Lonely Numbers in the Array |
Find All Lonely Numbers in the Array.java |
| 2154 |
Easy |
Keep Multiplying Found Values by Two |
Keep Multiplying Found Values by Two.java |
| 2155 |
Medium |
All Divisions With the Highest Score of a Binary Array |
All Divisions With the Highest Score of a Binary Array.java |
| 2160 |
Easy |
Minimum Sum of Four Digit Number After Splitting Digits |
Minimum Sum of Four Digit Number After Splitting Digits.java |
| 2161 |
Medium |
Partition Array According to Given Pivot |
Partition Array According to Given Pivot.java |
| 2164 |
Easy |
Sort Even and Odd Indices Independently |
Sort Even and Odd Indices Independently.java |
| 2165 |
Medium |
Smallest Value of the Rearranged Number |
Smallest Value of the Rearranged Number.java |
| 2169 |
Easy |
Count Operations to Obtain Zero |
Count Operations to Obtain Zero.java |
| 2170 |
Medium |
Minimum Operations to Make the Array Alternating |
Minimum Operations to Make the Array Alternating.java |
| 2171 |
Medium |
Removing Minimum Number of Magic Beans |
Removing Minimum Number of Magic Beans.java |
| 2176 |
Easy |
Count Equal and Divisible Pairs in an Array |
Count Equal and Divisible Pairs in an Array.java |
| 2177 |
Medium |
Find Three Consecutive Integers That Sum to a Given Number |
Find Three Consecutive Integers That Sum to a Given Number.java |
| 2178 |
Medium |
Maximum Split of Positive Even Integers |
Maximum Split of Positive Even Integers.java |
| 2180 |
Easy |
Count Integers With Even Digit Sum |
Count Integers With Even Digit Sum.java |
| 2181 |
Medium |
Merge Nodes in Between Zeros |
Merge Nodes in Between Zeros.java |
| 2182 |
Medium |
Construct String With Repeat Limit |
Construct String With Repeat Limit.java |
| 2185 |
Easy |
Counting Words With a Given Prefix |
Counting Words With a Given Prefix.java |
| 2186 |
Medium |
Minimum Number of Steps to Make Two Strings Anagram II |
Minimum Number of Steps to Make Two Strings Anagram II.java |
| 2190 |
Easy |
Most Frequent Number Following Key In an Array |
Most Frequent Number Following Key In an Array.java |
| 2191 |
Medium |
Sort the Jumbled Numbers |
Sort the Jumbled Numbers.java |
| 2192 |
Medium |
All Ancestors of a Node in a Directed Acyclic Graph |
All Ancestors of a Node in a Directed Acyclic Graph.java |
| 2194 |
Easy |
Cells in a Range on an Excel Sheet |
Cells in a Range on an Excel Sheet.java |
| 2195 |
Medium |
Append K Integers With Minimal Sum |
Append K Integers With Minimal Sum.java |
| 2196 |
Medium |
Create Binary Tree From Descriptions |
Create Binary Tree From Descriptions.java |
| 2200 |
Easy |
Find All K-Distant Indices in an Array |
Find All K-Distant Indices in an Array.java |
| 2201 |
Medium |
Count Artifacts That Can Be Extracted |
Count Artifacts That Can Be Extracted.java |
| 2202 |
Medium |
Maximize the Topmost Element After K Moves |
Maximize the Topmost Element After K Moves.java |
| 2206 |
Easy |
Divide Array Into Equal Pairs |
Divide Array Into Equal Pairs.java |
| 2207 |
Medium |
Maximize Number of Subsequences in a String |
Maximize Number of Subsequences in a String.java |
| 2208 |
Medium |
Minimum Operations to Halve Array Sum |
Minimum Operations to Halve Array Sum.java |
| 2210 |
Easy |
Count Hills and Valleys in an Array |
Count Hills and Valleys in an Array.java |
| 2211 |
Medium |
Count Collisions on a Road |
Count Collisions on a Road.java |
| 2212 |
Medium |
Maximum Points in an Archery Competition |
Maximum Points in an Archery Competition.java |
| 2215 |
Easy |
Find the Difference of Two Arrays |
Find the Difference of Two Arrays.java |
| 2216 |
Medium |
Minimum Deletions to Make Array Beautiful |
Minimum Deletions to Make Array Beautiful.java |
| 2217 |
Medium |
Find Palindrome With Fixed Length |
Find Palindrome With Fixed Length.java |
| 2220 |
Easy |
Minimum Bit Flips to Convert Number |
Minimum Bit Flips to Convert Number.java |
| 2221 |
Medium |
Find Triangular Sum of an Array |
Find Triangular Sum of an Array.java |
| 2222 |
Medium |
Number of Ways to Select Buildings |
Number of Ways to Select Buildings.java |
| 2224 |
Easy |
Minimum Number of Operations to Convert Time |
Minimum Number of Operations to Convert Time.java |
| 2225 |
Medium |
Find Players With Zero or One Losses |
Find Players With Zero or One Losses.java |
| 2226 |
Medium |
Maximum Candies Allocated to K Children |
Maximum Candies Allocated to K Children.java |
| 2231 |
Easy |
Largest Number After Digit Swaps by Parity |
Largest Number After Digit Swaps by Parity.java |
| 2232 |
Medium |
Minimize Result by Adding Parentheses to Expression |
Minimize Result by Adding Parentheses to Expression.java |
| 2233 |
Medium |
Maximum Product After K Increments |
Maximum Product After K Increments.java |
| 2235 |
Easy |
Add Two Integers |
Add Two Integers.java |
| 2236 |
Easy |
Root Equals Sum of Children |
Root Equals Sum of Children.java |
| 2239 |
Easy |
Find Closest Number to Zero |
Find Closest Number to Zero.java |
| 2240 |
Medium |
Number of Ways to Buy Pens and Pencils |
Number of Ways to Buy Pens and Pencils.java |
| 2241 |
Medium |
Design an ATM Machine |
Design an ATM Machine.java |
| 2243 |
Easy |
Calculate Digit Sum of a String |
Calculate Digit Sum of a String.java |
| 2244 |
Medium |
Minimum Rounds to Complete All Tasks |
Minimum Rounds to Complete All Tasks.java |
| 2248 |
Easy |
Intersection of Multiple Arrays |
Intersection of Multiple Arrays.java |
| 2249 |
Medium |
Count Lattice Points Inside a Circle |
Count Lattice Points Inside a Circle.java |
| 2250 |
Medium |
Count Number of Rectangles Containing Each Point |
Count Number of Rectangles Containing Each Point.java |
| 2255 |
Easy |
Count Prefixes of a Given String |
Count Prefixes of a Given String.java |
| 2256 |
Medium |
Minimum Average Difference |
Minimum Average Difference.java |
| 2257 |
Medium |
Count Unguarded Cells in the Grid |
Count Unguarded Cells in the Grid.java |
| 2259 |
Easy |
Remove Digit From Number to Maximize Result |
Remove Digit From Number to Maximize Result.java |
| 2260 |
Medium |
Minimum Consecutive Cards to Pick Up |
Minimum Consecutive Cards to Pick Up.java |
| 2261 |
Medium |
K Divisible Elements Subarrays |
K Divisible Elements Subarrays.java |
| 2264 |
Easy |
Largest 3-Same-Digit Number in String |
Largest 3-Same-Digit Number in String.java |
| 2265 |
Medium |
Count Nodes Equal to Average of Subtree |
Count Nodes Equal to Average of Subtree.java |
| 2266 |
Medium |
Count Number of Texts |
Count Number of Texts.java |
| 2269 |
Easy |
Find the K-Beauty of a Number |
Find the K-Beauty of a Number.java |
| 2270 |
Medium |
Number of Ways to Split Array |
Number of Ways to Split Array.java |
| 2271 |
Medium |
Maximum White Tiles Covered by a Carpet |
Maximum White Tiles Covered by a Carpet.java |
| 2273 |
Easy |
Find Resultant Array After Removing Anagrams |
Find Resultant Array After Removing Anagrams.java |
| 2274 |
Medium |
Maximum Consecutive Floors Without Special Floors |
Maximum Consecutive Floors Without Special Floors.java |
| 2275 |
Medium |
Largest Combination With Bitwise AND Greater Than Zero |
Largest Combination With Bitwise AND Greater Than Zero.java |
| 2278 |
Easy |
Percentage of Letter in String |
Percentage of Letter in String.java |
| 2279 |
Medium |
Maximum Bags With Full Capacity of Rocks |
Maximum Bags With Full Capacity of Rocks.java |
| 2280 |
Medium |
Minimum Lines to Represent a Line Chart |
Minimum Lines to Represent a Line Chart.java |
| 2283 |
Easy |
Check if Number Has Equal Digit Count and Digit Value |
Check if Number Has Equal Digit Count and Digit Value.java |
| 2284 |
Medium |
Sender With Largest Word Count |
Sender With Largest Word Count.java |
| 2285 |
Medium |
Maximum Total Importance of Roads |
Maximum Total Importance of Roads.java |
| 2287 |
Easy |
Rearrange Characters to Make Target String |
Rearrange Characters to Make Target String.java |
| 2288 |
Medium |
Apply Discount to Prices |
Apply Discount to Prices.java |
| 2290 |
Hard |
Minimum Obstacle Removal to Reach Corner |
Minimum Obstacle Removal to Reach Corner.java |
| 2293 |
Easy |
Min Max Game |
Min Max Game.java |
| 2294 |
Medium |
Partition Array Such That Maximum Difference Is K |
Partition Array Such That Maximum Difference Is K.java |
| 2295 |
Medium |
Replace Elements in an Array |
Replace Elements in an Array.java |
| 2299 |
Easy |
Strong Password Checker II |
Strong Password Checker II.java |
| 2300 |
Medium |
Successful Pairs of Spells and Potions |
Successful Pairs of Spells and Potions.java |
| 2303 |
Easy |
Calculate Amount Paid in Taxes |
Calculate Amount Paid in Taxes.java |
| 2304 |
Medium |
Minimum Path Cost in a Grid |
Minimum Path Cost in a Grid.java |
| 2309 |
Easy |
Greatest English Letter in Upper and Lower Case |
Greatest English Letter in Upper and Lower Case.java |
| 2310 |
Medium |
Sum of Numbers With Units Digit K |
Sum of Numbers With Units Digit K.java |
| 2311 |
Medium |
Longest Binary Subsequence Less Than or Equal to K |
Longest Binary Subsequence Less Than or Equal to K.java |
| 2315 |
Easy |
Count Asterisks |
Count Asterisks.java |
| 2316 |
Medium |
Count Unreachable Pairs of Nodes in an Undirected Graph |
Count Unreachable Pairs of Nodes in an Undirected Graph.java |
| 2317 |
Medium |
Maximum XOR After Operations |
Maximum XOR After Operations.java |
| 2319 |
Easy |
Check if Matrix Is X-Matrix |
Check if Matrix Is X-Matrix.java |
| 2325 |
Easy |
Decode the Message |
Decode the Message.java |
| 2326 |
Medium |
Spiral Matrix IV |
Spiral Matrix IV.java |
| 2331 |
Easy |
Evaluate Boolean Binary Tree |
Evaluate Boolean Binary Tree.java |
| 2332 |
Medium |
The Latest Time to Catch a Bus |
The Latest Time to Catch a Bus.java |
| 2335 |
Easy |
Minimum Amount of Time to Fill Cups |
Minimum Amount of Time to Fill Cups.java |
| 2336 |
Medium |
Smallest Number in Infinite Set |
Smallest Number in Infinite Set.java |
| 2341 |
Easy |
Maximum Number of Pairs in Array |
Maximum Number of Pairs in Array.java |
| 2342 |
Medium |
Max Sum of a Pair With Equal Sum of Digits |
Max Sum of a Pair With Equal Sum of Digits.java |
| 2343 |
Medium |
Query Kth Smallest Trimmed Number |
Query Kth Smallest Trimmed Number.java |
| 2344 |
Hard |
Minimum Deletions to Make Array Divisible |
Minimum Deletions to Make Array Divisible.java |
| 2347 |
Easy |
Best Poker Hand |
Best Poker Hand.java |
| 2348 |
Medium |
Number of Zero-Filled Subarrays |
Number of Zero-Filled Subarrays.java |
| 2349 |
Medium |
Design a Number Container System |
Design a Number Container System.java |
| 2351 |
Easy |
First Letter to Appear Twice |
First Letter to Appear Twice.java |
| 2352 |
Medium |
Equal Row and Column Pairs |
Equal Row and Column Pairs.java |
| 2353 |
Medium |
Design a Food Rating System |
Design a Food Rating System.java |
| 2357 |
Easy |
Make Array Zero by Subtracting Equal Amounts |
Make Array Zero by Subtracting Equal Amounts.java |
| 2358 |
Medium |
Maximum Number of Groups Entering a Competition |
Maximum Number of Groups Entering a Competition.java |
| 2359 |
Medium |
Find Closest Node to Given Two Nodes |
Find Closest Node to Given Two Nodes.java |
| 2363 |
Easy |
Merge Similar Items |
Merge Similar Items.java |
| 2364 |
Medium |
Count Number of Bad Pairs |
Count Number of Bad Pairs.java |
| 2365 |
Medium |
Task Scheduler II |
Task Scheduler II.java |
| 2367 |
Easy |
Number of Arithmetic Triplets |
Number of Arithmetic Triplets.java |
| 2368 |
Medium |
Reachable Nodes With Restrictions |
Reachable Nodes With Restrictions.java |
| 2369 |
Medium |
Check if There is a Valid Partition For The Array |
Check if There is a Valid Partition For The Array.java |
| 2373 |
Easy |
Largest Local Values in a Matrix |
Largest Local Values in a Matrix.java |
| 2374 |
Medium |
Node With Highest Edge Score |
Node With Highest Edge Score.java |
| 2375 |
Medium |
Construct Smallest Number From DI String |
Construct Smallest Number From DI String.java |
| 2376 |
Hard |
Count Special Integers |
Count Special Integers.java |
| 2379 |
Easy |
Minimum Recolors to Get K Consecutive Black Blocks |
Minimum Recolors to Get K Consecutive Black Blocks.java |
| 2380 |
Medium |
Time Needed to Rearrange a Binary String |
Time Needed to Rearrange a Binary String.java |
| 2381 |
Medium |
Shifting Letters II |
Shifting Letters II.java |
| 2382 |
Hard |
Maximum Segment Sum After Removals |
Maximum Segment Sum After Removals.java |
| 2383 |
Easy |
Minimum Hours of Training to Win a Competition |
Minimum Hours of Training to Win a Competition.java |
| 2384 |
Medium |
Largest Palindromic Number |
Largest Palindromic Number.java |
| 2385 |
Medium |
Amount of Time for Binary Tree to Be Infected |
Amount of Time for Binary Tree to Be Infected.java |
| 2389 |
Easy |
Longest Subsequence With Limited Sum |
Longest Subsequence With Limited Sum.java |
| 2390 |
Medium |
Removing Stars From a String |
Removing Stars From a String.java |
| 2391 |
Medium |
Minimum Amount of Time to Collect Garbage |
Minimum Amount of Time to Collect Garbage.java |
| 2395 |
Easy |
Find Subarrays With Equal Sum |
Find Subarrays With Equal Sum.java |
| 2396 |
Medium |
Strictly Palindromic Number |
Strictly Palindromic Number.java |
| 2399 |
Easy |
Check Distances Between Same Letters |
Check Distances Between Same Letters.java |
| 2400 |
Medium |
Number of Ways to Reach a Position After Exactly k Steps |
Number of Ways to Reach a Position After Exactly k Steps.java |
| 2402 |
Hard |
Meeting Rooms III |
Meeting Rooms III.java |
| 2404 |
Easy |
Most Frequent Even Element |
Most Frequent Even Element.java |
| 2405 |
Medium |
Optimal Partition of String |
Optimal Partition of String.java |
| 2406 |
Medium |
Divide Intervals Into Minimum Number of Groups |
Divide Intervals Into Minimum Number of Groups.java |
| 2409 |
Easy |
Count Days Spent Together |
Count Days Spent Together.java |
| 2410 |
Medium |
Maximum Matching of Players With Trainers |
Maximum Matching of Players With Trainers.java |
| 2411 |
Medium |
Smallest Subarrays With Maximum Bitwise OR |
Smallest Subarrays With Maximum Bitwise OR.java |
| 2413 |
Easy |
Smallest Even Multiple |
Smallest Even Multiple.java |
| 2414 |
Medium |
Length of the Longest Alphabetical Continuous Substring |
Length of the Longest Alphabetical Continuous Substring.java |
| 2415 |
Medium |
Reverse Odd Levels of Binary Tree |
Reverse Odd Levels of Binary Tree.java |
| 2416 |
Hard |
Sum of Prefix Scores of Strings |
Sum of Prefix Scores of Strings.java |
| 2418 |
Easy |
Sort the People |
Sort the People.java |
| 2419 |
Medium |
Longest Subarray With Maximum Bitwise AND |
Longest Subarray With Maximum Bitwise AND.java |
| 2423 |
Easy |
Remove Letter To Equalize Frequency |
Remove Letter To Equalize Frequency.java |
| 2424 |
Medium |
Longest Uploaded Prefix |
Longest Uploaded Prefix.java |
| 2425 |
Medium |
Bitwise XOR of All Pairings |
Bitwise XOR of All Pairings.java |
| 2427 |
Easy |
Number of Common Factors |
Number of Common Factors.java |
| 2428 |
Medium |
Maximum Sum of an Hourglass |
Maximum Sum of an Hourglass.java |
| 2429 |
Medium |
Minimize XOR |
Minimize XOR.java |
| 2432 |
Easy |
The Employee That Worked on the Longest Task |
The Employee That Worked on the Longest Task.java |
| 2433 |
Medium |
Find The Original Array of Prefix Xor |
Find The Original Array of Prefix Xor.java |
| 2434 |
Medium |
Using a Robot to Print the Lexicographically Smallest String |
Using a Robot to Print the Lexicographically Smallest String.java |
| 2435 |
Hard |
Paths in Matrix Whose Sum Is Divisible by K |
Paths in Matrix Whose Sum Is Divisible by K.java |
| 2437 |
Easy |
Number of Valid Clock Times |
Number of Valid Clock Times.java |
| 2438 |
Medium |
Range Product Queries of Powers |
Range Product Queries of Powers.java |
| 2441 |
Easy |
Largest Positive Integer That Exists With Its Negative |
Largest Positive Integer That Exists With Its Negative.java |
| 2442 |
Medium |
Count Number of Distinct Integers After Reverse Operations |
Count Number of Distinct Integers After Reverse Operations.java |
| 2443 |
Medium |
Sum of Number and Its Reverse |
Sum of Number and Its Reverse.java |
| 2446 |
Easy |
Determine if Two Events Have Conflict |
Determine if Two Events Have Conflict.java |
| 2447 |
Medium |
Number of Subarrays With GCD Equal to K |
Number of Subarrays With GCD Equal to K.java |
| 2451 |
Easy |
Odd String Difference |
Odd String Difference.java |
| 2452 |
Medium |
Words Within Two Edits of Dictionary |
Words Within Two Edits of Dictionary.java |
| 2453 |
Medium |
Destroy Sequential Targets |
Destroy Sequential Targets.java |
| 2455 |
Easy |
Average Value of Even Numbers That Are Divisible by Three |
Average Value of Even Numbers That Are Divisible by Three.java |
| 2456 |
Medium |
Most Popular Video Creator |
Most Popular Video Creator.java |
| 2457 |
Medium |
Minimum Addition to Make Integer Beautiful |
Minimum Addition to Make Integer Beautiful.java |
| 2460 |
Easy |
Apply Operations to an Array |
Apply Operations to an Array.java |
| 2461 |
Medium |
Maximum Sum of Distinct Subarrays With Length K |
Maximum Sum of Distinct Subarrays With Length K.java |
| 2465 |
Easy |
Number of Distinct Averages |
Number of Distinct Averages.java |
| 2466 |
Medium |
Count Ways To Build Good Strings |
Count Ways To Build Good Strings.java |
| 2469 |
Easy |
Convert the Temperature |
Convert the Temperature.java |
| 2470 |
Medium |
Number of Subarrays With LCM Equal to K |
Number of Subarrays With LCM Equal to K.java |
| 2471 |
Medium |
Minimum Number of Operations to Sort a Binary Tree by Level |
Minimum Number of Operations to Sort a Binary Tree by Level.java |
| 2472 |
Hard |
Maximum Number of Non-overlapping Palindrome Substrings |
Maximum Number of Non-overlapping Palindrome Substrings.java |
| 2475 |
Easy |
Number of Unequal Triplets in Array |
Number of Unequal Triplets in Array.java |
| 2476 |
Medium |
Closest Nodes Queries in a Binary Search Tree |
Closest Nodes Queries in a Binary Search Tree.java |
| 2481 |
Easy |
Minimum Cuts to Divide a Circle |
Minimum Cuts to Divide a Circle.java |
| 2482 |
Medium |
Difference Between Ones and Zeros in Row and Column |
Difference Between Ones and Zeros in Row and Column.java |
| 2483 |
Medium |
Minimum Penalty for a Shop |
Minimum Penalty for a Shop.java |
| 2484 |
Hard |
Count Palindromic Subsequences |
Count Palindromic Subsequences.java |
| 2485 |
Easy |
Find the Pivot Integer |
Find the Pivot Integer.java |
| 2486 |
Medium |
Append Characters to String to Make Subsequence |
Append Characters to String to Make Subsequence.java |
| 2487 |
Medium |
Remove Nodes From Linked List |
Remove Nodes From Linked List.java |
| 2490 |
Easy |
Circular Sentence |
Circular Sentence.java |
| 2491 |
Medium |
Divide Players Into Teams of Equal Skill |
Divide Players Into Teams of Equal Skill.java |
| 2492 |
Medium |
Minimum Score of a Path Between Two Cities |
Minimum Score of a Path Between Two Cities.java |
| 2493 |
Hard |
Divide Nodes Into the Maximum Number of Groups |
Divide Nodes Into the Maximum Number of Groups.java |
| 2496 |
Easy |
Maximum Value of a String in an Array |
Maximum Value of a String in an Array.java |
| 2497 |
Medium |
Maximum Star Sum of a Graph |
Maximum Star Sum of a Graph.java |
| 2500 |
Easy |
Delete Greatest Value in Each Row |
Delete Greatest Value in Each Row.java |
| 2501 |
Medium |
Longest Square Streak in an Array |
Longest Square Streak in an Array.java |
| 2506 |
Easy |
Count Pairs Of Similar Strings |
Count Pairs Of Similar Strings.java |
| 2511 |
Easy |
Maximum Enemy Forts That Can Be Captured |
Maximum Enemy Forts That Can Be Captured.java |
| 2512 |
Medium |
Reward Top K Students |
Reward Top K Students.java |
| 2515 |
Easy |
Shortest Distance to Target String in a Circular Array |
Shortest Distance to Target String in a Circular Array.java |
| 2516 |
Medium |
Take K of Each Character From Left and Right |
Take K of Each Character From Left and Right.java |
| 2517 |
Medium |
Maximum Tastiness of Candy Basket |
Maximum Tastiness of Candy Basket.java |
| 2520 |
Easy |
Count the Digits That Divide a Number |
Count the Digits That Divide a Number.java |
| 2521 |
Medium |
Distinct Prime Factors of Product of Array |
Distinct Prime Factors of Product of Array.java |
| 2522 |
Medium |
Partition String Into Substrings With Values at Most K |
Partition String Into Substrings With Values at Most K.java |
| 2523 |
Medium |
Closest Prime Numbers in Range |
Closest Prime Numbers in Range.java |
| 2525 |
Easy |
Categorize Box According to Criteria |
Categorize Box According to Criteria.java |
| 2529 |
Easy |
Maximum Count of Positive Integer and Negative Integer |
Maximum Count of Positive Integer and Negative Integer.java |
| 2530 |
Medium |
Maximal Score After Applying K Operations |
Maximal Score After Applying K Operations.java |
| 2531 |
Medium |
Make Number of Distinct Characters Equal |
Make Number of Distinct Characters Equal.java |
| 2535 |
Easy |
Difference Between Element Sum and Digit Sum of an Array |
Difference Between Element Sum and Digit Sum of an Array.java |
| 2536 |
Medium |
Increment Submatrices by One |
Increment Submatrices by One.java |
| 2537 |
Medium |
Count the Number of Good Subarrays |
Count the Number of Good Subarrays.java |
| 2540 |
Easy |
Minimum Common Value |
Minimum Common Value.java |
| 2544 |
Easy |
Alternating Digit Sum |
Alternating Digit Sum.java |
| 2545 |
Medium |
Sort the Students by Their Kth Score |
Sort the Students by Their Kth Score.java |
| 2546 |
Medium |
Apply Bitwise Operations to Make Strings Equal |
Apply Bitwise Operations to Make Strings Equal.java |
| 2547 |
Hard |
Minimum Cost to Split an Array |
Minimum Cost to Split an Array.java |
| 2549 |
Easy |
Count Distinct Numbers on Board |
Count Distinct Numbers on Board.java |
| 2550 |
Medium |
Count Collisions of Monkeys on a Polygon |
Count Collisions of Monkeys on a Polygon.java |
| 2553 |
Easy |
Separate the Digits in an Array |
Separate the Digits in an Array.java |
| 2554 |
Medium |
Maximum Number of Integers to Choose From a Range I |
Maximum Number of Integers to Choose From a Range I.java |
| 2558 |
Easy |
Take Gifts From the Richest Pile |
Take Gifts From the Richest Pile.java |
| 2559 |
Medium |
Count Vowel Strings in Ranges |
Count Vowel Strings in Ranges.java |
| 2560 |
Medium |
House Robber IV |
House Robber IV.java |
| 2562 |
Easy |
Find the Array Concatenation Value |
Find the Array Concatenation Value.java |
| 2566 |
Easy |
Maximum Difference by Remapping a Digit |
Maximum Difference by Remapping a Digit.java |
| 2567 |
Medium |
Minimum Score by Changing Two Elements |
Minimum Score by Changing Two Elements.java |
| 2568 |
Medium |
Minimum Impossible OR |
Minimum Impossible OR.java |
| 2570 |
Easy |
Merge Two 2D Arrays by Summing Values |
Merge Two 2D Arrays by Summing Values.java |
| 2571 |
Medium |
Minimum Operations to Reduce an Integer to 0 |
Minimum Operations to Reduce an Integer to 0.java |
| 2574 |
Easy |
Left and Right Sum Differences |
Left and Right Sum Differences.java |
| 2575 |
Medium |
Find the Divisibility Array of a String |
Find the Divisibility Array of a String.java |
| 2576 |
Medium |
Find the Maximum Number of Marked Indices |
Find the Maximum Number of Marked Indices.java |
| 2578 |
Easy |
Split With Minimum Sum |
Split With Minimum Sum.java |
| 2579 |
Medium |
Count Total Number of Colored Cells |
Count Total Number of Colored Cells.java |
| 2580 |
Medium |
Count Ways to Group Overlapping Ranges |
Count Ways to Group Overlapping Ranges.java |
| 2582 |
Easy |
Pass the Pillow |
Pass the Pillow.java |
| 2583 |
Medium |
Kth Largest Sum in a Binary Tree |
Kth Largest Sum in a Binary Tree.java |
| 2585 |
Hard |
Number of Ways to Earn Points |
Number of Ways to Earn Points.java |
| 2586 |
Easy |
Count the Number of Vowel Strings in Range |
Count the Number of Vowel Strings in Range.java |
| 2587 |
Medium |
Rearrange Array to Maximize Prefix Score |
Rearrange Array to Maximize Prefix Score.java |
| 2591 |
Easy |
Distribute Money to Maximum Children |
Distribute Money to Maximum Children.java |
| 2592 |
Medium |
Maximize Greatness of an Array |
Maximize Greatness of an Array.java |
| 2593 |
Medium |
Find Score of an Array After Marking All Elements |
Find Score of an Array After Marking All Elements.java |
| 2594 |
Medium |
Minimum Time to Repair Cars |
Minimum Time to Repair Cars.java |
| 2595 |
Easy |
Number of Even and Odd Bits |
Number of Even and Odd Bits.java |
| 2596 |
Medium |
Check Knight Tour Configuration |
Check Knight Tour Configuration.java |
| 2597 |
Medium |
The Number of Beautiful Subsets |
The Number of Beautiful Subsets.java |
| 2600 |
Easy |
K Items With the Maximum Sum |
K Items With the Maximum Sum.java |
| 2601 |
Medium |
Prime Subtraction Operation |
Prime Subtraction Operation.java |
| 2602 |
Medium |
Minimum Operations to Make All Array Elements Equal |
Minimum Operations to Make All Array Elements Equal.java |
| 2605 |
Easy |
Form Smallest Number From Two Digit Arrays |
Form Smallest Number From Two Digit Arrays.java |
| 2606 |
Medium |
Find the Substring With Maximum Cost |
Find the Substring With Maximum Cost.java |
| 2609 |
Easy |
Find the Longest Balanced Substring of a Binary String |
Find the Longest Balanced Substring of a Binary String.java |
| 2610 |
Medium |
Convert an Array Into a 2D Array With Conditions |
Convert an Array Into a 2D Array With Conditions.java |
| 2614 |
Easy |
Prime In Diagonal |
Prime In Diagonal.java |
| 2615 |
Medium |
Sum of Distances |
Sum of Distances.java |
| 2639 |
Easy |
Find the Width of Columns of a Grid |
Find the Width of Columns of a Grid.java |
| 2640 |
Medium |
Find the Score of All Prefixes of an Array |
Find the Score of All Prefixes of an Array.java |
| 2641 |
Medium |
Cousins in Binary Tree II |
Cousins in Binary Tree II.java |
| 2642 |
Hard |
Design Graph With Shortest Path Calculator |
Design Graph With Shortest Path Calculator.java |
| 2643 |
Easy |
Row With Maximum Ones |
Row With Maximum Ones.java |
| 2644 |
Easy |
Find the Maximum Divisibility Score |
Find the Maximum Divisibility Score.java |
| 2645 |
Medium |
Minimum Additions to Make Valid String |
Minimum Additions to Make Valid String.java |
| 2651 |
Easy |
Calculate Delayed Arrival Time |
Calculate Delayed Arrival Time.java |
| 2652 |
Easy |
Sum Multiples |
Sum Multiples.java |
| 2653 |
Medium |
Sliding Subarray Beauty |
Sliding Subarray Beauty.java |
| 2654 |
Medium |
Minimum Number of Operations to Make All Array Elements Equal to 1 |
Minimum Number of Operations to Make All Array Elements Equal to 1.java |
| 2656 |
Easy |
Maximum Sum With Exactly K Elements |
Maximum Sum With Exactly K Elements.java |
| 2657 |
Medium |
Find the Prefix Common Array of Two Arrays |
Find the Prefix Common Array of Two Arrays.java |
| 2658 |
Medium |
Maximum Number of Fish in a Grid |
Maximum Number of Fish in a Grid.java |
| 2660 |
Easy |
Determine the Winner of a Bowling Game |
Determine the Winner of a Bowling Game.java |
| 2661 |
Medium |
First Completely Painted Row or Column |
First Completely Painted Row or Column.java |
| 2670 |
Easy |
Find the Distinct Difference Array |
Find the Distinct Difference Array.java |
| 2671 |
Medium |
Frequency Tracker |
Frequency Tracker.java |
| 2672 |
Medium |
Number of Adjacent Elements With the Same Color |
Number of Adjacent Elements With the Same Color.java |
| 2673 |
Medium |
Make Costs of Paths Equal in a Binary Tree |
Make Costs of Paths Equal in a Binary Tree.java |
| 2678 |
Easy |
Number of Senior Citizens |
Number of Senior Citizens.java |
| 2679 |
Medium |
Sum in a Matrix |
Sum in a Matrix.java |
| 2680 |
Medium |
Maximum OR |
Maximum OR.java |
| 2682 |
Easy |
Find the Losers of the Circular Game |
Find the Losers of the Circular Game.java |
| 2683 |
Medium |
Neighboring Bitwise XOR |
Neighboring Bitwise XOR.java |
| 2684 |
Medium |
Maximum Number of Moves in a Grid |
Maximum Number of Moves in a Grid.java |
| 2685 |
Medium |
Count the Number of Complete Components |
Count the Number of Complete Components.java |
| 2696 |
Easy |
Minimum String Length After Removing Substrings |
Minimum String Length After Removing Substrings.java |
| 2697 |
Easy |
Lexicographically Smallest Palindrome |
Lexicographically Smallest Palindrome.java |
| 2698 |
Medium |
Find the Punishment Number of an Integer |
Find the Punishment Number of an Integer.java |
| 2706 |
Easy |
Buy Two Chocolates |
Buy Two Chocolates.java |
| 2708 |
Medium |
Maximum Strength of a Group |
Maximum Strength of a Group.java |
| 2710 |
Easy |
Remove Trailing Zeros From a String |
Remove Trailing Zeros From a String.java |
| 2714 |
Easy |
Semi-Ordered Permutation |
Semi-Ordered Permutation.java |
| 2716 |
Easy |
Minimize String Length |
Minimize String Length.java |
| 2729 |
Easy |
Check if The Number is Fascinating |
Check if The Number is Fascinating.java |
| 2730 |
Medium |
Find the Longest Semi-Repetitive Substring |
Find the Longest Semi-Repetitive Substring.java |
| 2731 |
Medium |
Movement of Robots |
Movement of Robots.java |
| 2733 |
Easy |
Neither Minimum nor Maximum |
Neither Minimum nor Maximum.java |
| 2734 |
Medium |
Lexicographically Smallest String After Substring Operation |
Lexicographically Smallest String After Substring Operation.java |
| 2739 |
Easy |
Total Distance Traveled |
Total Distance Traveled.java |
| 2740 |
Medium |
Find the Value of the Partition |
Find the Value of the Partition.java |
| 2744 |
Easy |
Find Maximum Number of String Pairs |
Find Maximum Number of String Pairs.java |
| 2748 |
Easy |
Number of Beautiful Pairs |
Number of Beautiful Pairs.java |
| 2760 |
Easy |
Longest Even Odd Subarray With Threshold |
Longest Even Odd Subarray With Threshold.java |
| 2761 |
Medium |
Prime Pairs With Target Sum |
Prime Pairs With Target Sum.java |
| 2765 |
Easy |
Longest Alternating Subarray |
Longest Alternating Subarray.java |
| 2766 |
Medium |
Relocate Marbles |
Relocate Marbles.java |
| 2767 |
Medium |
Partition String Into Minimum Beautiful Substrings |
Partition String Into Minimum Beautiful Substrings.java |
| 2769 |
Easy |
Find the Maximum Achievable Number |
Find the Maximum Achievable Number.java |
| 2770 |
Medium |
Maximum Number of Jumps to Reach the Last Index |
Maximum Number of Jumps to Reach the Last Index.java |
| 2771 |
Medium |
Longest Non-decreasing Subarray From Two Arrays |
Longest Non-decreasing Subarray From Two Arrays.java |
| 2778 |
Easy |
Sum of Squares of Special Elements |
Sum of Squares of Special Elements.java |
| 2779 |
Medium |
Maximum Beauty of an Array After Applying Operation |
Maximum Beauty of an Array After Applying Operation.java |
| 2780 |
Medium |
Minimum Index of a Valid Split |
Minimum Index of a Valid Split.java |
| 2784 |
Easy |
Check if Array is Good |
Check if Array is Good.java |
| 2785 |
Medium |
Sort Vowels in a String |
Sort Vowels in a String.java |
| 2786 |
Medium |
Visit Array Positions to Maximize Score |
Visit Array Positions to Maximize Score.java |
| 2788 |
Easy |
Split Strings by Separator |
Split Strings by Separator.java |
| 2789 |
Medium |
Largest Element in an Array after Merge Operations |
Largest Element in an Array after Merge Operations.java |
| 2798 |
Easy |
Number of Employees Who Met the Target |
Number of Employees Who Met the Target.java |
| 2799 |
Medium |
Count Complete Subarrays in an Array |
Count Complete Subarrays in an Array.java |
| 2806 |
Easy |
Account Balance After Rounded Purchase |
Account Balance After Rounded Purchase.java |
| 2807 |
Medium |
Insert Greatest Common Divisors in Linked List |
Insert Greatest Common Divisors in Linked List.java |
| 2810 |
Easy |
Faulty Keyboard |
Faulty Keyboard.java |
| 2811 |
Medium |
Check if it is Possible to Split Array |
Check if it is Possible to Split Array.java |
| 2815 |
Easy |
Max Pair Sum in an Array |
Max Pair Sum in an Array.java |
| 2816 |
Medium |
Double a Number Represented as a Linked List |
Double a Number Represented as a Linked List.java |
| 2817 |
Medium |
Minimum Absolute Difference Between Elements With Constraint |
Minimum Absolute Difference Between Elements With Constraint.java |
| 2824 |
Easy |
Count Pairs Whose Sum is Less than Target |
Count Pairs Whose Sum is Less than Target.java |
| 2828 |
Easy |
Check if a String Is an Acronym of Words |
Check if a String Is an Acronym of Words.java |
| 2829 |
Medium |
Determine the Minimum Sum of a k-avoiding Array |
Determine the Minimum Sum of a k-avoiding Array.java |
| 2830 |
Medium |
Maximize the Profit as the Salesman |
Maximize the Profit as the Salesman.java |
| 2831 |
Medium |
Find the Longest Equal Subarray |
Find the Longest Equal Subarray.java |
| 2833 |
Easy |
Furthest Point From Origin |
Furthest Point From Origin.java |
| 2834 |
Medium |
Find the Minimum Possible Sum of a Beautiful Array |
Find the Minimum Possible Sum of a Beautiful Array.java |
| 2835 |
Medium |
Minimum Operations to Form Subsequence With Target Sum |
Minimum Operations to Form Subsequence With Target Sum.java |
| 2839 |
Easy |
Check if Strings Can be Made Equal With Operations I |
Check if Strings Can be Made Equal With Operations I.java |
| 2840 |
Medium |
Check if Strings Can be Made Equal With Operations II |
Check if Strings Can be Made Equal With Operations II.java |
| 2841 |
Medium |
Maximum Sum of Almost Unique Subarray |
Maximum Sum of Almost Unique Subarray.java |
| 2843 |
Easy |
Count Symmetric Integers |
Count Symmetric Integers.java |
| 2844 |
Medium |
Minimum Operations to Make a Special Number |
Minimum Operations to Make a Special Number.java |
| 2848 |
Easy |
Points That Intersect With Cars |
Points That Intersect With Cars.java |
| 2849 |
Medium |
Determine if a Cell Is Reachable at a Given Time |
Determine if a Cell Is Reachable at a Given Time.java |
| 2850 |
Medium |
Minimum Moves to Spread Stones Over Grid |
Minimum Moves to Spread Stones Over Grid.java |
| 2855 |
Easy |
Minimum Right Shifts to Sort the Array |
Minimum Right Shifts to Sort the Array.java |
| 2856 |
Medium |
Minimum Array Length After Pair Removals |
Minimum Array Length After Pair Removals.java |
| 2859 |
Easy |
Sum of Values at Indices With K Set Bits |
Sum of Values at Indices With K Set Bits.java |
| 2860 |
Medium |
Happy Students |
Happy Students.java |
| 2861 |
Medium |
Maximum Number of Alloys |
Maximum Number of Alloys.java |
| 2864 |
Easy |
Maximum Odd Binary Number |
Maximum Odd Binary Number.java |
| 2865 |
Medium |
Beautiful Towers I |
Beautiful Towers I.java |
| 2869 |
Easy |
Minimum Operations to Collect Elements |
Minimum Operations to Collect Elements.java |
| 2870 |
Medium |
Minimum Number of Operations to Make Array Empty |
Minimum Number of Operations to Make Array Empty.java |
| 2871 |
Medium |
Split Array Into Maximum Number of Subarrays |
Split Array Into Maximum Number of Subarrays.java |
| 2873 |
Easy |
Maximum Value of an Ordered Triplet I |
Maximum Value of an Ordered Triplet I.java |
| 2874 |
Medium |
Maximum Value of an Ordered Triplet II |
Maximum Value of an Ordered Triplet II.java |
| 2894 |
Easy |
Divisible and Non-divisible Sums Difference |
Divisible and Non-divisible Sums Difference.java |
| 2899 |
Easy |
Last Visited Integers |
Last Visited Integers.java |
| 2900 |
Medium |
Longest Unequal Adjacent Groups Subsequence I |
Longest Unequal Adjacent Groups Subsequence I.java |
| 2901 |
Medium |
Longest Unequal Adjacent Groups Subsequence II |
Longest Unequal Adjacent Groups Subsequence II.java |
| 2903 |
Easy |
Find Indices With Index and Value Difference I |
Find Indices With Index and Value Difference I.java |
| 2908 |
Easy |
Minimum Sum of Mountain Triplets I |
Minimum Sum of Mountain Triplets I.java |
| 2909 |
Medium |
Minimum Sum of Mountain Triplets II |
Minimum Sum of Mountain Triplets II.java |
| 2913 |
Easy |
Subarrays Distinct Element Sum of Squares I |
Subarrays Distinct Element Sum of Squares I.java |
| 2914 |
Medium |
Minimum Number of Changes to Make Binary String Beautiful |
Minimum Number of Changes to Make Binary String Beautiful.java |
| 2915 |
Medium |
Length of the Longest Subsequence That Sums to Target |
Length of the Longest Subsequence That Sums to Target.java |
| 2917 |
Easy |
Find the K-or of an Array |
Find the K-or of an Array.java |
| 2918 |
Medium |
Minimum Equal Sum of Two Arrays After Replacing Zeros |
Minimum Equal Sum of Two Arrays After Replacing Zeros.java |
| 2923 |
Easy |
Find Champion I |
Find Champion I.java |
| 2924 |
Medium |
Find Champion II |
Find Champion II.java |
| 2928 |
Easy |
Distribute Candies Among Children I |
Distribute Candies Among Children I.java |
| 2929 |
Medium |
Distribute Candies Among Children II |
Distribute Candies Among Children II.java |
| 2932 |
Easy |
Maximum Strong Pair XOR I |
Maximum Strong Pair XOR I.java |
| 2933 |
Medium |
High-Access Employees |
High-Access Employees.java |
| 2934 |
Medium |
Minimum Operations to Maximize Last Elements in Arrays |
Minimum Operations to Maximize Last Elements in Arrays.java |
| 2937 |
Easy |
Make Three Strings Equal |
Make Three Strings Equal.java |
| 2938 |
Medium |
Separate Black and White Balls |
Separate Black and White Balls.java |
| 2939 |
Medium |
Maximum Xor Product |
Maximum Xor Product.java |
| 2942 |
Easy |
Find Words Containing Character |
Find Words Containing Character.java |
| 2943 |
Medium |
Maximize Area of Square Hole in Grid |
Maximize Area of Square Hole in Grid.java |
| 2946 |
Easy |
Matrix Similarity After Cyclic Shifts |
Matrix Similarity After Cyclic Shifts.java |
| 2947 |
Medium |
Count Beautiful Substrings I |
Count Beautiful Substrings I.java |
| 2948 |
Medium |
Make Lexicographically Smallest Array by Swapping Elements |
Make Lexicographically Smallest Array by Swapping Elements.java |
| 2951 |
Easy |
Find the Peaks |
Find the Peaks.java |
| 2952 |
Medium |
Minimum Number of Coins to be Added |
Minimum Number of Coins to be Added.java |
| 2956 |
Easy |
Find Common Elements Between Two Arrays |
Find Common Elements Between Two Arrays.java |
| 2957 |
Medium |
Remove Adjacent Almost-Equal Characters |
Remove Adjacent Almost-Equal Characters.java |
| 2958 |
Medium |
Length of Longest Subarray With at Most K Frequency |
Length of Longest Subarray With at Most K Frequency.java |
| 2960 |
Easy |
Count Tested Devices After Test Operations |
Count Tested Devices After Test Operations.java |
| 2961 |
Medium |
Double Modular Exponentiation |
Double Modular Exponentiation.java |
| 2965 |
Easy |
Find Missing and Repeated Values |
Find Missing and Repeated Values.java |
| 2966 |
Medium |
Divide Array Into Arrays With Max Difference |
Divide Array Into Arrays With Max Difference.java |
| 2967 |
Medium |
Minimum Cost to Make Array Equalindromic |
Minimum Cost to Make Array Equalindromic.java |
| 2970 |
Easy |
Count the Number of Incremovable Subarrays I |
Count the Number of Incremovable Subarrays I.java |
| 2971 |
Medium |
Find Polygon With the Largest Perimeter |
Find Polygon With the Largest Perimeter.java |
| 2974 |
Easy |
Minimum Number Game |
Minimum Number Game.java |
| 2975 |
Medium |
Maximum Square Area by Removing Fences From a Field |
Maximum Square Area by Removing Fences From a Field.java |
| 2980 |
Easy |
Check if Bitwise OR Has Trailing Zeros |
Check if Bitwise OR Has Trailing Zeros.java |
| 2981 |
Medium |
Find Longest Special Substring That Occurs Thrice I |
Find Longest Special Substring That Occurs Thrice I.java |
| 2996 |
Easy |
Smallest Missing Integer Greater Than Sequential Prefix Sum |
Smallest Missing Integer Greater Than Sequential Prefix Sum.java |
| 2997 |
Medium |
Minimum Number of Operations to Make Array XOR Equal to K |
Minimum Number of Operations to Make Array XOR Equal to K.java |
| 2998 |
Medium |
Minimum Number of Operations to Make X and Y Equal |
Minimum Number of Operations to Make X and Y Equal.java |
| 3000 |
Easy |
Maximum Area of Longest Diagonal Rectangle |
Maximum Area of Longest Diagonal Rectangle.java |
| 3001 |
Medium |
Minimum Moves to Capture The Queen |
Minimum Moves to Capture The Queen.java |
| 3005 |
Easy |
Count Elements With Maximum Frequency |
Count Elements With Maximum Frequency.java |
| 3006 |
Medium |
Find Beautiful Indices in the Given Array I |
Find Beautiful Indices in the Given Array I.java |
| 3010 |
Easy |
Divide an Array Into Subarrays With Minimum Cost I |
Divide an Array Into Subarrays With Minimum Cost I.java |
| 3011 |
Medium |
Find if Array Can Be Sorted |
Find if Array Can Be Sorted.java |
| 3014 |
Easy |
Minimum Number of Pushes to Type Word I |
Minimum Number of Pushes to Type Word I.java |
| 3015 |
Medium |
Count the Number of Houses at a Certain Distance I |
Count the Number of Houses at a Certain Distance I.java |
| 3016 |
Medium |
Minimum Number of Pushes to Type Word II |
Minimum Number of Pushes to Type Word II.java |
| 3019 |
Easy |
Number of Changing Keys |
Number of Changing Keys.java |
| 3020 |
Medium |
Find the Maximum Number of Elements in Subset |
Find the Maximum Number of Elements in Subset.java |
| 3021 |
Medium |
Alice and Bob Playing Flower Game |
Alice and Bob Playing Flower Game.java |
| 3024 |
Easy |
Type of Triangle II |
Type of Triangle II.java |
| 3025 |
Medium |
Find the Number of Ways to Place People I |
Find the Number of Ways to Place People I.java |
| 3026 |
Medium |
Maximum Good Subarray Sum |
Maximum Good Subarray Sum.java |
| 3028 |
Easy |
Ant on the Boundary |
Ant on the Boundary.java |
| 3033 |
Easy |
Modify the Matrix |
Modify the Matrix.java |
| 3034 |
Medium |
Number of Subarrays That Match a Pattern I |
Number of Subarrays That Match a Pattern I.java |
| 3035 |
Medium |
Maximum Palindromes After Operations |
Maximum Palindromes After Operations.java |
| 3038 |
Medium |
Maximum Number of Operations With the Same Score I |
Maximum Number of Operations With the Same Score I.java |
| 3046 |
Easy |
Split the Array |
Split the Array.java |
| 3047 |
Medium |
Find the Largest Area of Square Inside Two Rectangles |
Find the Largest Area of Square Inside Two Rectangles.java |
| 3065 |
Easy |
Minimum Operations to Exceed Threshold Value I |
Minimum Operations to Exceed Threshold Value I.java |
| 3066 |
Medium |
Minimum Operations to Exceed Threshold Value II |
Minimum Operations to Exceed Threshold Value II.java |
| 3069 |
Easy |
Distribute Elements Into Two Arrays I |
Distribute Elements Into Two Arrays I.java |
| 3070 |
Medium |
Count Submatrices with Top-Left Element and Sum Less Than k |
Count Submatrices with Top-Left Element and Sum Less Than k.java |
| 3071 |
Medium |
Minimum Operations to Write the Letter Y on a Grid |
Minimum Operations to Write the Letter Y on a Grid.java |
| 3074 |
Easy |
Apple Redistribution into Boxes |
Apple Redistribution into Boxes.java |
| 3075 |
Medium |
Maximize Happiness of Selected Children |
Maximize Happiness of Selected Children.java |
| 3076 |
Medium |
Shortest Uncommon Substring in an Array |
Shortest Uncommon Substring in an Array.java |
| 3079 |
Easy |
Find the Sum of Encrypted Integers |
Find the Sum of Encrypted Integers.java |
| 3081 |
Medium |
Count Substrings Starting and Ending with Given Character |
Count Substrings Starting and Ending with Given Character.java |
| 3083 |
Easy |
Existence of a Substring in a String and Its Reverse |
Existence of a Substring in a String and Its Reverse.java |
| 3085 |
Medium |
Minimum Deletions to Make String K-Special |
Minimum Deletions to Make String K-Special.java |
| 3090 |
Easy |
Maximum Length Substring With Two Occurrences |
Maximum Length Substring With Two Occurrences.java |
| 3091 |
Medium |
Apply Operations to Make Sum of Array Greater Than or Equal to k |
Apply Operations to Make Sum of Array Greater Than or Equal to k.java |
| 3092 |
Medium |
Most Frequent IDs |
Most Frequent IDs.java |
| 3093 |
Hard |
Longest Common Suffix Queries |
Longest Common Suffix Queries.java |
| 3095 |
Easy |
Shortest Subarray With OR at Least K I |
Shortest Subarray With OR at Least K I.java |
| 3096 |
Medium |
Minimum Levels to Gain More Points |
Minimum Levels to Gain More Points.java |
| 3097 |
Medium |
Shortest Subarray With OR at Least K II |
Shortest Subarray With OR at Least K II.java |
| 3105 |
Easy |
Longest Strictly Increasing or Strictly Decreasing Subarray |
Longest Strictly Increasing or Strictly Decreasing Subarray.java |
| 3106 |
Medium |
Lexicographically Smallest String After Operations With Constraint |
Lexicographically Smallest String After Operations With Constraint.java |
| 3107 |
Medium |
Minimum Operations to Make Median of Array Equal to K |
Minimum Operations to Make Median of Array Equal to K.java |
| 3110 |
Easy |
Score of a String |
Score of a String.java |
| 3111 |
Medium |
Minimum Rectangles to Cover Points |
Minimum Rectangles to Cover Points.java |
| 3112 |
Medium |
Minimum Time to Visit Disappearing Nodes |
Minimum Time to Visit Disappearing Nodes.java |
| 3114 |
Easy |
Latest Time You Can Obtain After Replacing Characters |
Latest Time You Can Obtain After Replacing Characters.java |
| 3115 |
Medium |
Maximum Prime Difference |
Maximum Prime Difference.java |
| 3120 |
Easy |
Count the Number of Special Characters I |
Count the Number of Special Characters I.java |
| 3121 |
Medium |
Count the Number of Special Characters II |
Count the Number of Special Characters II.java |
| 3122 |
Medium |
Minimum Number of Operations to Satisfy Conditions |
Minimum Number of Operations to Satisfy Conditions.java |
| 3123 |
Hard |
Find Edges in Shortest Paths |
Find Edges in Shortest Paths.java |
| 3131 |
Medium |
Find the Integer Added to Array I |
Find the Integer Added to Array I.java |
| 3132 |
Medium |
Find the Integer Added to Array II |
Find the Integer Added to Array II.java |
| 3136 |
Easy |
Valid Word |
Valid Word.java |
| 3137 |
Medium |
Minimum Number of Operations to Make Word K-Periodic |
Minimum Number of Operations to Make Word K-Periodic.java |
| 3142 |
Easy |
Check if Grid Satisfies Conditions |
Check if Grid Satisfies Conditions.java |
| 3143 |
Medium |
Maximum Points Inside the Square |
Maximum Points Inside the Square.java |
| 3144 |
Medium |
Minimum Substring Partition of Equal Character Frequency |
Minimum Substring Partition of Equal Character Frequency.java |
| 3146 |
Easy |
Permutation Difference between Two Strings |
Permutation Difference between Two Strings.java |
| 3147 |
Medium |
Taking Maximum Energy From the Mystic Dungeon |
Taking Maximum Energy From the Mystic Dungeon.java |
| 3151 |
Easy |
Special Array I |
Special Array I.java |
| 3152 |
Medium |
Special Array II |
Special Array II.java |
| 3153 |
Medium |
Sum of Digit Differences of All Pairs |
Sum of Digit Differences of All Pairs.java |
| 3158 |
Easy |
Find the XOR of Numbers Which Appear Twice |
Find the XOR of Numbers Which Appear Twice.java |
| 3159 |
Medium |
Find Occurrences of an Element in an Array |
Find Occurrences of an Element in an Array.java |
| 3160 |
Medium |
Find the Number of Distinct Colors Among the Balls |
Find the Number of Distinct Colors Among the Balls.java |
| 3163 |
Medium |
String Compression III |
String Compression III.java |
| 3168 |
Easy |
Minimum Number of Chairs in a Waiting Room |
Minimum Number of Chairs in a Waiting Room.java |
| 3169 |
Medium |
Count Days Without Meetings |
Count Days Without Meetings.java |
| 3170 |
Medium |
Lexicographically Minimum String After Removing Stars |
Lexicographically Minimum String After Removing Stars.java |
| 3174 |
Easy |
Clear Digits |
Clear Digits.java |
| 3175 |
Medium |
Find The First Player to win K Games in a Row |
Find The First Player to win K Games in a Row.java |
| 3178 |
Easy |
Find the Child Who Has the Ball After K Seconds |
Find the Child Who Has the Ball After K Seconds.java |
| 3179 |
Medium |
Find the N-th Value After K Seconds |
Find the N-th Value After K Seconds.java |
| 3180 |
Medium |
Maximum Total Reward Using Operations I |
Maximum Total Reward Using Operations I.java |
| 3184 |
Easy |
Count Pairs That Form a Complete Day I |
Count Pairs That Form a Complete Day I.java |
| 3185 |
Medium |
Count Pairs That Form a Complete Day II |
Count Pairs That Form a Complete Day II.java |
| 3186 |
Medium |
Maximum Total Damage With Spell Casting |
Maximum Total Damage With Spell Casting.java |
| 3190 |
Easy |
Find Minimum Operations to Make All Elements Divisible by Three |
Find Minimum Operations to Make All Elements Divisible by Three.java |
| 3191 |
Medium |
Minimum Operations to Make Binary Array Elements Equal to One I |
Minimum Operations to Make Binary Array Elements Equal to One I.java |
| 3192 |
Medium |
Minimum Operations to Make Binary Array Elements Equal to One II |
Minimum Operations to Make Binary Array Elements Equal to One II.java |
| 3194 |
Easy |
Minimum Average of Smallest and Largest Elements |
Minimum Average of Smallest and Largest Elements.java |
| 3195 |
Medium |
Find the Minimum Area to Cover All Ones I |
Find the Minimum Area to Cover All Ones I.java |
| 3200 |
Easy |
Maximum Height of a Triangle |
Maximum Height of a Triangle.java |
| 3201 |
Medium |
Find the Maximum Length of Valid Subsequence I |
Find the Maximum Length of Valid Subsequence I.java |
| 3202 |
Medium |
Find the Maximum Length of Valid Subsequence II |
Find the Maximum Length of Valid Subsequence II.java |
| 3206 |
Easy |
Alternating Groups I |
Alternating Groups I.java |
| 3207 |
Medium |
Maximum Points After Enemy Battles |
Maximum Points After Enemy Battles.java |
| 3208 |
Medium |
Alternating Groups II |
Alternating Groups II.java |
| 3210 |
Easy |
Find the Encrypted String |
Find the Encrypted String.java |
| 3211 |
Medium |
Generate Binary Strings Without Adjacent Zeros |
Generate Binary Strings Without Adjacent Zeros.java |
| 3212 |
Medium |
Count Submatrices With Equal Frequency of X and Y |
Count Submatrices With Equal Frequency of X and Y.java |
| 3216 |
Easy |
Lexicographically Smallest String After a Swap |
Lexicographically Smallest String After a Swap.java |
| 3217 |
Medium |
Delete Nodes From Linked List Present in Array |
Delete Nodes From Linked List Present in Array.java |
| 3218 |
Medium |
Minimum Cost for Cutting Cake I |
Minimum Cost for Cutting Cake I.java |
| 3219 |
Hard |
Minimum Cost for Cutting Cake II |
Minimum Cost for Cutting Cake II.java |
| 3222 |
Easy |
Find the Winning Player in Coin Game |
Find the Winning Player in Coin Game.java |
| 3223 |
Medium |
Minimum Length of String After Operations |
Minimum Length of String After Operations.java |
| 3224 |
Medium |
Minimum Array Changes to Make Differences Equal |
Minimum Array Changes to Make Differences Equal.java |
| 3226 |
Easy |
Number of Bit Changes to Make Two Integers Equal |
Number of Bit Changes to Make Two Integers Equal.java |
| 3227 |
Medium |
Vowels Game in a String |
Vowels Game in a String.java |
| 3228 |
Medium |
Maximum Number of Operations to Move Ones to the End |
Maximum Number of Operations to Move Ones to the End.java |
| 3229 |
Hard |
Minimum Operations to Make Array Equal to Target |
Minimum Operations to Make Array Equal to Target.java |
| 3232 |
Easy |
Find if Digit Game Can Be Won |
Find if Digit Game Can Be Won.java |
| 3233 |
Medium |
Find the Count of Numbers Which Are Not Special |
Find the Count of Numbers Which Are Not Special.java |
| 3234 |
Medium |
Count the Number of Substrings With Dominant Ones |
Count the Number of Substrings With Dominant Ones.java |
| 3242 |
Easy |
Design Neighbor Sum Service |
Design Neighbor Sum Service.java |
| 3243 |
Medium |
Shortest Distance After Road Addition Queries I |
Shortest Distance After Road Addition Queries I.java |
| 3248 |
Easy |
Snake in Matrix |
Snake in Matrix.java |
| 3254 |
Medium |
Find the Power of K-Size Subarrays I |
Find the Power of K-Size Subarrays I.java |
| 3255 |
Medium |
Find the Power of K-Size Subarrays II |
Find the Power of K-Size Subarrays II.java |
| 3258 |
Easy |
Count Substrings That Satisfy K-Constraint I |
Count Substrings That Satisfy K-Constraint I.java |
| 3259 |
Medium |
Maximum Energy Boost From Two Drinks |
Maximum Energy Boost From Two Drinks.java |
| 3260 |
Hard |
Find the Largest Palindrome Divisible by K |
Find the Largest Palindrome Divisible by K.java |
| 3264 |
Easy |
Final Array State After K Multiplication Operations I |
Final Array State After K Multiplication Operations I.java |
| 3265 |
Medium |
Count Almost Equal Pairs I |
Count Almost Equal Pairs I.java |
| 3270 |
Easy |
Find the Key of the Numbers |
Find the Key of the Numbers.java |
| 3271 |
Medium |
Hash Divided String |
Hash Divided String.java |
| 3273 |
Hard |
Minimum Amount of Damage Dealt to Bob |
Minimum Amount of Damage Dealt to Bob.java |
| 3274 |
Easy |
Check if Two Chessboard Squares Have the Same Color |
Check if Two Chessboard Squares Have the Same Color.java |
| 3275 |
Medium |
K-th Nearest Obstacle Queries |
K-th Nearest Obstacle Queries.java |
| 3280 |
Easy |
Convert Date to Binary |
Convert Date to Binary.java |
| 3281 |
Medium |
Maximize Score of Numbers in Ranges |
Maximize Score of Numbers in Ranges.java |
| 3282 |
Medium |
Reach End of Array With Max Score |
Reach End of Array With Max Score.java |
| 3285 |
Easy |
Find Indices of Stable Mountains |
Find Indices of Stable Mountains.java |
| 3286 |
Medium |
Find a Safe Walk Through a Grid |
Find a Safe Walk Through a Grid.java |
| 3289 |
Easy |
The Two Sneaky Numbers of Digitville |
The Two Sneaky Numbers of Digitville.java |
| 3290 |
Medium |
Maximum Multiplication Score |
Maximum Multiplication Score.java |
| 3295 |
Medium |
Report Spam Message |
Report Spam Message.java |
| 3296 |
Medium |
Minimum Number of Seconds to Make Mountain Height Zero |
Minimum Number of Seconds to Make Mountain Height Zero.java |
| 3297 |
Medium |
Count Substrings That Can Be Rearranged to Contain a String I |
Count Substrings That Can Be Rearranged to Contain a String I.java |
| 3298 |
Hard |
Count Substrings That Can Be Rearranged to Contain a String II |
Count Substrings That Can Be Rearranged to Contain a String II.java |
| 3300 |
Easy |
Minimum Element After Replacement With Digit Sum |
Minimum Element After Replacement With Digit Sum.java |
| 3301 |
Medium |
Maximize the Total Height of Unique Towers |
Maximize the Total Height of Unique Towers.java |
| 3304 |
Easy |
Find the K-th Character in String Game I |
Find the K-th Character in String Game I.java |
| 3305 |
Medium |
Count of Substrings Containing Every Vowel and K Consonants I |
Count of Substrings Containing Every Vowel and K Consonants I.java |
| 3309 |
Medium |
Maximum Possible Number by Binary Concatenation |
Maximum Possible Number by Binary Concatenation.java |
| 3310 |
Medium |
Remove Methods From Project |
Remove Methods From Project.java |
| 3330 |
Easy |
Find the Original Typed String I |
Find the Original Typed String I.java |
| 3331 |
Medium |
Find Subtree Sizes After Changes |
Find Subtree Sizes After Changes.java |
| 3332 |
Medium |
Maximum Points Tourist Can Earn |
Maximum Points Tourist Can Earn.java |
| 3340 |
Easy |
Check Balanced String |
Check Balanced String.java |
| 3341 |
Medium |
Find Minimum Time to Reach Last Room I |
Find Minimum Time to Reach Last Room I.java |
| 3342 |
Medium |
Find Minimum Time to Reach Last Room II |
Find Minimum Time to Reach Last Room II.java |
| 3349 |
Easy |
Adjacent Increasing Subarrays Detection I |
Adjacent Increasing Subarrays Detection I.java |
| 3350 |
Medium |
Adjacent Increasing Subarrays Detection II |
Adjacent Increasing Subarrays Detection II.java |
| 3355 |
Medium |
Zero Array Transformation I |
Zero Array Transformation I.java |
| 3364 |
Easy |
Minimum Positive Sum Subarray |
Minimum Positive Sum Subarray.java |
| 3365 |
Medium |
Rearrange K Substrings to Form Target String |
Rearrange K Substrings to Form Target String.java |
| 3370 |
Easy |
Smallest Number With All Set Bits |
Smallest Number With All Set Bits.java |
| 3371 |
Medium |
Identify the Largest Outlier in an Array |
Identify the Largest Outlier in an Array.java |
| 3372 |
Medium |
Maximize the Number of Target Nodes After Connecting Trees I |
Maximize the Number of Target Nodes After Connecting Trees I.java |
| 3375 |
Easy |
Minimum Operations to Make Array Values Equal to K |
Minimum Operations to Make Array Values Equal to K.java |
| 3379 |
Easy |
Transformed Array |
Transformed Array.java |
| 3380 |
Medium |
Maximum Area Rectangle With Point Constraints I |
Maximum Area Rectangle With Point Constraints I.java |
| 3392 |
Easy |
Count Subarrays of Length Three With a Condition |
Count Subarrays of Length Three With a Condition.java |
| 3396 |
Easy |
Minimum Number of Operations to Make Elements in Array Distinct |
Minimum Number of Operations to Make Elements in Array Distinct.java |
| 3417 |
Easy |
Zigzag Grid Traversal With Skip |
Zigzag Grid Traversal With Skip.java |
| 3418 |
Medium |
Maximum Amount of Money Robot Can Earn |
Maximum Amount of Money Robot Can Earn.java |
| 3423 |
Easy |
Maximum Difference Between Adjacent Elements in a Circular Array |
Maximum Difference Between Adjacent Elements in a Circular Array.java |
| 3424 |
Medium |
Minimum Cost to Make Arrays Identical |
Minimum Cost to Make Arrays Identical.java |
| 3427 |
Easy |
Sum of Variable Length Subarrays |
Sum of Variable Length Subarrays.java |
| 3442 |
Easy |
Maximum Difference Between Even and Odd Frequency I |
Maximum Difference Between Even and Odd Frequency I.java |
| 3443 |
Medium |
Maximum Manhattan Distance After K Changes |
Maximum Manhattan Distance After K Changes.java |
| 3446 |
Medium |
Sort Matrix by Diagonals |
Sort Matrix by Diagonals.java |
| 3452 |
Easy |
Sum of Good Numbers |
Sum of Good Numbers.java |
| 3456 |
Easy |
Find Special Substring of Length K |
Find Special Substring of Length K.java |
| 3457 |
Medium |
Eat Pizzas! |
Eat Pizzas!.java |
| 3461 |
Easy |
Check If Digits Are Equal in String After Operations I |
Check If Digits Are Equal in String After Operations I.java |
| 3462 |
Medium |
Maximum Sum With at Most K Elements |
Maximum Sum With at Most K Elements.java |
| 3471 |
Easy |
Find the Largest Almost Missing Integer |
Find the Largest Almost Missing Integer.java |
| 3472 |
Medium |
Longest Palindromic Subsequence After at Most K Operations |
Longest Palindromic Subsequence After at Most K Operations.java |
| 3477 |
Easy |
Fruits Into Baskets II |
Fruits Into Baskets II.java |
| 3478 |
Medium |
Choose K Elements With Maximum Sum |
Choose K Elements With Maximum Sum.java |
| 3484 |
Medium |
Design Spreadsheet |
Design Spreadsheet.java |
| 3492 |
Easy |
Maximum Containers on a Ship |
Maximum Containers on a Ship.java |
| 3493 |
Medium |
Properties Graph |
Properties Graph.java |
| 3507 |
Easy |
Minimum Pair Removal to Sort Array I |
Minimum Pair Removal to Sort Array I.java |
| 3508 |
Medium |
Implement Router |
Implement Router.java |
| 3512 |
Easy |
Minimum Operations to Make Array Sum Divisible by K |
Minimum Operations to Make Array Sum Divisible by K.java |
| 3516 |
Easy |
Find Closest Person |
Find Closest Person.java |
| 3522 |
Medium |
Calculate Score After Performing Instructions |
Calculate Score After Performing Instructions.java |
| 3523 |
Medium |
Make Array Non-decreasing |
Make Array Non-decreasing.java |
| 3536 |
Easy |
Maximum Product of Two Digits |
Maximum Product of Two Digits.java |
| 3537 |
Medium |
Fill a Special Grid |
Fill a Special Grid.java |
| 3546 |
Medium |
Equal Sum Grid Partition I |
Equal Sum Grid Partition I.java |
| 3550 |
Easy |
Smallest Index With Digit Sum Equal to Index |
Smallest Index With Digit Sum Equal to Index.java |
| 3551 |
Medium |
Minimum Swaps to Sort by Digit Sum |
Minimum Swaps to Sort by Digit Sum.java |
| 3552 |
Medium |
Grid Teleportation Traversal |
Grid Teleportation Traversal.java |
| 3560 |
Easy |
Find Minimum Log Transportation Cost |
Find Minimum Log Transportation Cost.java |
| 3561 |
Medium |
Resulting String After Adjacent Removals |
Resulting String After Adjacent Removals.java |
| 3566 |
Medium |
Partition Array into Two Equal Product Subsets |
Partition Array into Two Equal Product Subsets.java |
| 3567 |
Medium |
Minimum Absolute Difference in Sliding Submatrix |
Minimum Absolute Difference in Sliding Submatrix.java |
| 3606 |
Easy |
Coupon Code Validator |
Coupon Code Validator.java |
| 3607 |
Medium |
Power Grid Maintenance |
Power Grid Maintenance.java |
| 3618 |
Medium |
Split Array by Prime Indices |
Split Array by Prime Indices.java |
| 3619 |
Medium |
Count Islands With Total Value Divisible by K |
Count Islands With Total Value Divisible by K.java |
| 3620 |
Hard |
Network Recovery Pathways |
Network Recovery Pathways.java |
| 3633 |
Easy |
Earliest Finish Time for Land and Water Rides I |
Earliest Finish Time for Land and Water Rides I.java |
| 3634 |
Medium |
Minimum Removals to Balance Array |
Minimum Removals to Balance Array.java |
| 3635 |
Medium |
Earliest Finish Time for Land and Water Rides II |
Earliest Finish Time for Land and Water Rides II.java |
| 3643 |
Easy |
Flip Square Submatrix Vertically |
Flip Square Submatrix Vertically.java |
| 3652 |
Medium |
Best Time to Buy and Sell Stock using Strategy |
Best Time to Buy and Sell Stock using Strategy.java |
| 3653 |
Medium |
XOR After Range Multiplication Queries I |
XOR After Range Multiplication Queries I.java |
| 3658 |
Easy |
GCD of Odd and Even Sums |
GCD of Odd and Even Sums.java |
| 3659 |
Medium |
Partition Array Into K-Distinct Groups |
Partition Array Into K-Distinct Groups.java |
| 3668 |
Easy |
Restore Finishing Order |
Restore Finishing Order.java |
| 3674 |
Easy |
Minimum Operations to Equalize Array |
Minimum Operations to Equalize Array.java |
| 3675 |
Medium |
Minimum Operations to Transform String |
Minimum Operations to Transform String.java |
| 3678 |
Easy |
Smallest Absent Positive Greater Than Average |
Smallest Absent Positive Greater Than Average.java |
| 3683 |
Easy |
Earliest Time to Finish One Task |
Earliest Time to Finish One Task.java |
| 3684 |
Easy |
Maximize Sum of At Most K Distinct Elements |
Maximize Sum of At Most K Distinct Elements.java |
| 3688 |
Easy |
Bitwise OR of Even Numbers in an Array |
Bitwise OR of Even Numbers in an Array.java |
| 3689 |
Medium |
Maximum Total Subarray Value I |
Maximum Total Subarray Value I.java |
| 3692 |
Easy |
Majority Frequency Characters |
Majority Frequency Characters.java |
| 3693 |
Medium |
Climbing Stairs II |
Climbing Stairs II.java |
| 3697 |
Easy |
Compute Decimal Representation |
Compute Decimal Representation.java |
| 3701 |
Easy |
Compute Alternating Sum |
Compute Alternating Sum.java |
| 3702 |
Medium |
Longest Subsequence With Non-Zero Bitwise XOR |
Longest Subsequence With Non-Zero Bitwise XOR.java |
| 3703 |
Medium |
Remove K-Balanced Substrings |
Remove K-Balanced Substrings.java |
| 3707 |
Easy |
Equal Score Substrings |
Equal Score Substrings.java |
| 3708 |
Medium |
Longest Fibonacci Subarray |
Longest Fibonacci Subarray.java |
| 3709 |
Medium |
Design Exam Scores Tracker |
Design Exam Scores Tracker.java |
| 3712 |
Easy |
Sum of Elements With Frequency Divisible by K |
Sum of Elements With Frequency Divisible by K.java |
| 3713 |
Medium |
Longest Balanced Substring I |
Longest Balanced Substring I.java |
| 3718 |
Easy |
Smallest Missing Multiple of K |
Smallest Missing Multiple of K.java |
| 3719 |
Medium |
Longest Balanced Subarray I |
Longest Balanced Subarray I.java |
| 3720 |
Medium |
Lexicographically Smallest Permutation Greater Than Target |
Lexicographically Smallest Permutation Greater Than Target.java |
| 3722 |
Medium |
Lexicographically Smallest String After Reverse |
Lexicographically Smallest String After Reverse.java |
| 3723 |
Medium |
Maximize Sum of Squares of Digits |
Maximize Sum of Squares of Digits.java |
| 3726 |
Easy |
Remove Zeros in Decimal Representation |
Remove Zeros in Decimal Representation.java |
| 3727 |
Medium |
Maximum Alternating Sum of Squares |
Maximum Alternating Sum of Squares.java |
| 3731 |
Easy |
Find Missing Elements |
Find Missing Elements.java |
| 3732 |
Medium |
Maximum Product of Three Elements After One Replacement |
Maximum Product of Three Elements After One Replacement.java |
| 3733 |
Medium |
Minimum Time to Complete All Deliveries |
Minimum Time to Complete All Deliveries.java |
| 3736 |
Easy |
Minimum Moves to Equal Array Elements III |
Minimum Moves to Equal Array Elements III.java |
| 3737 |
Medium |
Count Subarrays With Majority Element I |
Count Subarrays With Majority Element I.java |
| 3738 |
Medium |
Longest Non-Decreasing Subarray After Replacing at Most One Element |
Longest Non-Decreasing Subarray After Replacing at Most One Element.java |
| 3740 |
Easy |
Minimum Distance Between Three Equal Elements I |
Minimum Distance Between Three Equal Elements I.java |
| 3741 |
Medium |
Minimum Distance Between Three Equal Elements II |
Minimum Distance Between Three Equal Elements II.java |
| 3745 |
Easy |
Maximize Expression of Three Elements |
Maximize Expression of Three Elements.java |
| 3746 |
Medium |
Minimum String Length After Balanced Removals |
Minimum String Length After Balanced Removals.java |
| 3747 |
Medium |
Count Distinct Integers After Removing Zeros |
Count Distinct Integers After Removing Zeros.java |
| 3750 |
Easy |
Minimum Number of Flips to Reverse Binary String |
Minimum Number of Flips to Reverse Binary String.java |
| 3751 |
Medium |
Total Waviness of Numbers in Range I |
Total Waviness of Numbers in Range I.java |
| 3752 |
Medium |
Lexicographically Smallest Negated Permutation that Sums to Target |
Lexicographically Smallest Negated Permutation that Sums to Target.java |
| 3754 |
Easy |
Concatenate Non-Zero Digits and Multiply by Sum I |
Concatenate Non-Zero Digits and Multiply by Sum I.java |
| 3755 |
Medium |
Find Maximum Balanced XOR Subarray Length |
Find Maximum Balanced XOR Subarray Length.java |
| 3759 |
Medium |
Count Elements With at Least K Greater Values |
Count Elements With at Least K Greater Values.java |
| 3760 |
Medium |
Maximum Substrings With Distinct Start |
Maximum Substrings With Distinct Start.java |
| 3761 |
Medium |
Minimum Absolute Distance Between Mirror Pairs |
Minimum Absolute Distance Between Mirror Pairs.java |
| 3765 |
Medium |
Complete Prime Number |
Complete Prime Number.java |
| 3766 |
Medium |
Minimum Operations to Make Binary Palindrome |
Minimum Operations to Make Binary Palindrome.java |
| 3767 |
Medium |
Maximize Points After Choosing K Tasks |
Maximize Points After Choosing K Tasks.java |
| 3769 |
Easy |
Sort Integers by Binary Reflection |
Sort Integers by Binary Reflection.java |
| 3770 |
Medium |
Largest Prime from Consecutive Prime Sum |
Largest Prime from Consecutive Prime Sum.java |
| 3783 |
Easy |
Mirror Distance of an Integer |
Mirror Distance of an Integer.java |
| 3784 |
Medium |
Minimum Deletion Cost to Make All Characters Equal |
Minimum Deletion Cost to Make All Characters Equal.java |
| 3809 |
Medium |
Best Reachable Tower |
Best Reachable Tower.java |
| 3810 |
Medium |
Minimum Operations to Reach Target Array |
Minimum Operations to Reach Target Array.java |
| 3813 |
Easy |
Vowel-Consonant Score |
Vowel-Consonant Score.java |
| 3814 |
Medium |
Maximum Capacity Within Budget |
Maximum Capacity Within Budget.java |
| 3815 |
Medium |
Design Auction System |
Design Auction System.java |
| 3827 |
Easy |
Count Monobit Integers |
Count Monobit Integers.java |
| 3828 |
Medium |
Final Element After Subarray Deletions |
Final Element After Subarray Deletions.java |
| 3829 |
Medium |
Design Ride Sharing System |
Design Ride Sharing System.java |
| 3833 |
Easy |
Count Dominant Indices |
Count Dominant Indices.java |
| 3834 |
Medium |
Merge Adjacent Equal Elements |
Merge Adjacent Equal Elements.java |
| 3835 |
Medium |
Count Subarrays With Cost Less Than or Equal to K |
Count Subarrays With Cost Less Than or Equal to K.java |
| 3836 |
Hard |
Maximum Score Using Exactly K Pairs |
Maximum Score Using Exactly K Pairs.java |
| 3842 |
Easy |
Toggle Light Bulbs |
Toggle Light Bulbs.java |
| 3843 |
Medium |
First Element with Unique Frequency |
First Element with Unique Frequency.java |
| 3856 |
Easy |
Trim Trailing Vowels |
Trim Trailing Vowels.java |
| 3857 |
Medium |
Minimum Cost to Split into Ones |
Minimum Cost to Split into Ones.java |
| 3858 |
Medium |
Minimum Bitwise OR From Grid |
Minimum Bitwise OR From Grid.java |
| 3861 |
Easy |
Minimum Capacity Box |
Minimum Capacity Box.java |
| 3862 |
Medium |
Find the Smallest Balanced Index |
Find the Smallest Balanced Index.java |
| 3863 |
Medium |
[Minimum Operations to Sort a String]( |
|