| 1 |
Count Binary Substrings |
| 2 |
Longest Harmonious Subsequence |
| 3 |
High Five |
| 4 |
Binary Tree Tilt |
| 5 |
Max Stack |
| 6 |
Number of Boomerangs |
| 7 |
Count the Number of Consistent Strings |
| 8 |
Sentence Similarity |
| 9 |
Perform String Shifts |
| 10 |
Kth Largest Element in a Stream |
| 11 |
Kth Missing Positive Number |
| 12 |
Check If String Is a Prefix of Array |
| 13 |
The K Weakest Rows in a Matrix |
| 14 |
Missing Number |
| 15 |
Remove Duplicates from Sorted Array |
| 16 |
Implement strStr |
| 17 |
Reverse String |
| 18 |
Create Target Array in the Given Order |
| 19 |
Increasing Order Search Tree |
| 20 |
Bold Words in String |
| 21 |
Minimum Absolute Difference |
| 22 |
Maximum 69 Number |
| 23 |
Largest Perimeter Triangle |
| 24 |
Number of Equivalent Domino Pairs |
| 25 |
Summary Ranges |
| 26 |
Binary Number with Alternating Bits |
| 27 |
Palindrome Linked List |
| 28 |
Intersection of Three Sorted Arrays |
| 29 |
Minimum Changes To Make Alternating Binary String |
| 30 |
Jewels and Stones |
| 31 |
Unique Email Addresses |
| 32 |
X of a Kind in a Deck of Cards |
| 33 |
Reverse Integer |
| 34 |
Longest Nice Substring |
| 35 |
Count Primes |
| 36 |
Positions of Large Groups |
| 37 |
Maximum Population Year |
| 38 |
Min Cost Climbing Stairs |
| 39 |
Number of Days Between Two Dates |
| 40 |
Minimum Distance to the Target Element |
| 41 |
Path Crossing |
| 42 |
Check If N and Its Double Exist |
| 43 |
Word Pattern |
| 44 |
Maximum Nesting Depth of the Parentheses |
| 45 |
Non-decreasing Array |
| 46 |
Two Sum IV - Input is a BST |
| 47 |
Find Positive Integer Solution for a Given Equation |
| 48 |
Hamming Distance |
| 49 |
Defuse the Bomb |
| 50 |
Final Prices With a Special Discount in a Shop |
| 51 |
Plus One |
| 52 |
Submission Detail |
| 53 |
Rotate String |
| 54 |
Minimum Depth of a Binary Tree |
| 55 |
Power of four |
| 56 |
Valid Perfect Square |
| 57 |
Find N Unique Integers Sum up to Zero |
| 58 |
Paint Fence |
| 59 |
Detect Capital |
| 60 |
Flipping an Image |
| 61 |
Subtract the Product and Sum of Digits of an Integer |
| 62 |
Two Sum III - Data Structure Design |
| 63 |
Check if Binary String Has at Most One Segment of Ones |
| 64 |
Number Complement |
| 65 |
Longer Contiguous Segments of Ones than Zeros |
| 66 |
Design HashSet |
| 67 |
Find Mode in Binary Search Tree |
| 68 |
Maximum Repeating Substring |
| 69 |
1-bit and 2-bit Characters |
| 70 |
Binary Gap |
| 71 |
Subtree of Another Tree |
| 72 |
Binary Tree Level Order Traversal II |
| 73 |
Defanging an IP Address |
| 74 |
Truncate Sentence |
| 75 |
Diameter of Binary Tree |
| 76 |
Maximum Average Subarray I |
| 77 |
Fizz Buzz |
| 78 |
Check if All the Integers in a Range Are Covered |
| 79 |
Duplicate Zeros |
| 80 |
Minimum Subsequence in Non-Increasing Order |
| 81 |
Smallest Range I |
| 82 |
Employee Importance |
| 83 |
Minimum_index_sum_of_two_lists |
| 84 |
Number of segments in a String |
| 85 |
Delete Columns to Make Sorted |
| 86 |
Reverse Only Letters |
| 87 |
Repeated String Match |
| 88 |
Uncommon Words from Two Sentences |
| 89 |
Assign Cookies |
| 90 |
Element Appearing More Than 25% In Sorted Array |
| 91 |
Find the Town Judge |
| 92 |
Buddy Strings |
| 93 |
Teoplitz Matrix |
| 94 |
Goat Latin |
| 95 |
Flower Planting With No Adjacent |
| 96 |
Largest Triangle Area |
| 97 |
Determine Color of a Chessboard Square |
| 98 |
Richest Customer Wealth |
| 99 |
Consecutive Characters |
| 100 |
Latest Time by Replacing Hidden Digits |
| 101 |
Robot Return to Origin |
| 102 |
Count and Say |
| 103 |
Determine Whether Matrix Can Be Obtained By Rotation |
| 104 |
Flip Game |
| 105 |
Minimum Value to Get Positive Step by Step Sum |
| 106 |
Reshape the matrix |
| 107 |
Valid Anagram |
| 108 |
Number of Strings That Appear as Substrings in Word |
| 109 |
DI String Match |
| 110 |
Running Sum of 1d Array |
| 111 |
Special Array With X Elements Greater Than or Equal X |
| 112 |
Backspace String Compare |
| 113 |
Implement Stack using Queues |
| 114 |
Baseball Game |
| 115 |
Pairs of Songs With Total Durations Divisible by 60 |
| 116 |
Destination City |
| 117 |
Maximum Product of three numbers |
| 118 |
Three Consecutive Odds |
| 119 |
Set Mismatch |
| 120 |
Sort Array by Increasing Frequency |
| 121 |
Find the Distance Value Between Two Arrays |
| 122 |
Find Anagram Mappings |
| 123 |
Decompress Run-Length Encoded List |
| 124 |
Flood Fill |
| 125 |
Magic Squares In Grid |
| 126 |
Hexspeak |
| 127 |
Diet Plan Performance |
| 128 |
Maximum Number of Balloons |
| 129 |
Find Smallest Letter Greater Than Target |
| 130 |
Check if Array Is Sorted and Rotated |
| 131 |
Path Sum |
| 132 |
Day of the Year |
| 133 |
Can Make Arithmetic Progression From Sequence |
| 134 |
Find the Highest Altitude |
| 135 |
Powerful Integers |
| 136 |
Merge Two Sorted Lists |
| 137 |
Binary Search |
| 138 |
K-diff Pairs in an Array |
| 139 |
Repeated Substring Pattern |
| 140 |
Reformat Phone Number |
| 141 |
Longest Continuous Increasing Subsequence |
| 142 |
Shuffle the Array |
| 143 |
Reorder Data in Log Files |
| 144 |
Ransom Note |
| 145 |
trailing_zeroes |
| 146 |
Height Checker |
| 147 |
License Key Formatting |
| 148 |
Balanced Binary Tree |
| 149 |
Check If It Is a Straight Line |
| 150 |
Max Area of Island |
| 151 |
Three Divisors |
| 152 |
Maximum Number of Words You Can Type |
| 153 |
String Matching in an Array |
| 154 |
Distance Between Bus Stops |
| 155 |
Ugly Number |
| 156 |
Pascal's Triangle II |
| 157 |
Pascal's Triangle |
| 158 |
Binary Prefix Divisible By 5 |
| 159 |
Number Of Rectangles That Can Form The Largest Square |
| 160 |
Count Negative Numbers in a Sorted Matrix |
| 161 |
Remove One Element to Make the Array Strictly Increasing |
| 162 |
Special Positions in a Binary Matrix |
| 163 |
Check if All Characters Have Equal Number of Occurrences |
| 164 |
Valid Word Sequence |
| 165 |
Design Linked List |
| 166 |
Rotated Digits |
| 167 |
Count Good Triplets |
| 168 |
Design an Ordered System |
| 169 |
Get Maximum in Generated Array |
| 170 |
Arranging Coins |
| 171 |
Check if Word Equals Summation of Two Words |
| 172 |
House Robber |
| 173 |
Fair Candy Swap |
| 174 |
Design Parking System |
| 175 |
Transpose Matrix |
| 176 |
Excel Sheet Column Title |
| 177 |
Linked List Cycle |
| 178 |
Find All the Lonely Nodes |
| 179 |
Base 7 |
| 180 |
Reverse Bits |
| 181 |
SqrtX |
| 182 |
Is Subsequence |
| 183 |
Reverse Linked List |
| 184 |
Shortest Distance to a Character |
| 185 |
Count of Matches in Tournament |
| 186 |
Valid Parentheses |
| 187 |
Two Sum II |
| 188 |
Convert Sorted Array To Binary Search Tree |
| 189 |
Construct the rectangle |
| 190 |
Maximum Units on a Truck |
| 191 |
Sum of left leaves |
| 192 |
Decrypt String from Alphabet to Integer Mapping |
| 193 |
Find Pivot Index |
| 194 |
Factorial Trailing Zeroes |
| 195 |
Build an Array With Stack Operations |
| 196 |
Peak Index in a Mountain Array |
| 197 |
Last Stone Weight |
| 198 |
K Closest Points to Origin |
| 199 |
Largest Time for Given Digits |
| 200 |
range_addition_II |
| 201 |
Isomorphic Strings |
| 202 |
Split a String in Balanced Strings |
| 203 |
To Lower Case |
| 204 |
Sum of Digits of String After Convert |
| 205 |
Read N characters Given Read4 |
| 206 |
Delete N Nodes After M Nodes of a Linked List |
| 207 |
Count Items Matching a Rule |
| 208 |
Reverse Vowels of a String |
| 209 |
Roman to Integer |
| 210 |
Cousins in Binary Tree |
| 211 |
Binary Tree Paths |
| 212 |
Valid Word Abbrevation |
| 213 |
Complement of Base 10 Integer |
| 214 |
Minimum Difference Between Highest and Lowest of K Scores |
| 215 |
Number of Days in a Month |
| 216 |
Find All Anagrams in a String |
| 217 |
Palindrome Number |
| 218 |
Detect Pattern of Length M Repeated K or More Times |
| 219 |
Univalued Binary Tree |
| 220 |
Single-Row Keyboard |
| 221 |
Remove Linked List Elements |
| 222 |
How Many Numbers Are Smaller Than the Current Number |
| 223 |
Armstrong Number |
| 224 |
Counting Elements |
| 225 |
Make The String Great |
| 226 |
Cells with Odd Values in a Matrix |
| 227 |
Power of Two |
| 228 |
Decode XORed Array |
| 229 |
Min Stack |
| 230 |
Long Pressed Name |
| 231 |
Kids With the Greatest Number of Candies |
| 232 |
N-ary Tree Postorder Traversal |
| 233 |
Max Consecutive Ones |
| 234 |
Find Words That Can Be Formed by Characters |
| 235 |
Number of 1 bits |
| 236 |
Largest Unique Number |
| 237 |
Paint House |
| 238 |
Logger Rate Limiter |
| 239 |
Substrings of Size Three with Distinct Characters |
| 240 |
Monotonic Array |
| 241 |
Check if One String Swap Can Make Strings Equal |
| 242 |
Valid Palindrome II |
| 243 |
Occurrences After Bigram |
| 244 |
Move Zeroes |
| 245 |
N-ary Tree Level Order Traversal |
| 246 |
Number of Lines To Write String |
| 247 |
First Unique Character in a String |
| 248 |
Maximum depth of Binary tree |
| 249 |
Largest Number At Least Twice of Others |
| 250 |
Reverse String II |
| 251 |
Letter Case Permutation |
| 252 |
Subdomain Visit Count |
| 253 |
Two Sum |
| 254 |
Climbing Stairs |
| 255 |
Projection Area of 3D Shapes |
| 256 |
Third Maximum Number |
| 257 |
Sign of the Product of an Array |
| 258 |
Heaters |
| 259 |
Student Attendance Record I |
| 260 |
Delete Characters to Make Fancy String |
| 261 |
Longest Uncommon Subsequence |
| 262 |
Valid Mountain Array |
| 263 |
Shortest Word Distance |
| 264 |
Matrix Cells in Distance Order |
| 265 |
Sum of Even Numbers After Queries |
| 266 |
Shuffle String |
| 267 |
Sum of Square Numbers |
| 268 |
Intersection of two arrays II |
| 269 |
Most Common Word |
| 270 |
Number of Students Doing Homework at a Given Time |
| 271 |
Invert Binary Tree |
| 272 |
Check if the Sentence Is Pangram |
| 273 |
Island Perimeter |
| 274 |
Available Captures for Rook |
| 275 |
Degree of an array |
| 276 |
Sum of Root To Leaf Binary Numbers |
| 277 |
Sort Array By Parity |
| 278 |
Number of Good Pairs |
| 279 |
Convert a number to hexadecimal |
| 280 |
Check If a Word Occurs As a Prefix of Any Word in a Sentence |
| 281 |
Concatenation of Array |
| 282 |
Number of Recent Calls |
| 283 |
Fixed Point |
| 284 |
Valid Boomerang |
| 285 |
Minimum Moves to Equal an Array Element |
| 286 |
Calculate Money in Leetcode Bank |
| 287 |
Check If Two String Arrays are Equivalent |
| 288 |
Find Nearest Point That Has the Same X or Y Coordinate |
| 289 |
Maximum Product Difference Between Two Pairs |
| 290 |
Goal Parser Interpretation |
| 291 |
Judge Route Cycle |
| 292 |
Middle of the linked list |
| 293 |
Compare Strings by Frequency of the Smallest Character |
| 294 |
Intersection of Two Arrays |
| 295 |
Bulls and Cows |
| 296 |
Slowest Key |
| 297 |
nim_game |
| 298 |
Groups of Special-Equivalent Strings |
| 299 |
Reformat The String |
| 300 |
Minimum Operations to Make the Array Increasing |
| 301 |
Index Pairs of a String |
| 302 |
Number of Steps to Reduce a Number to Zero |
| 303 |
Confusing Number |
| 304 |
Convert BST to Greater Tree |
| 305 |
Find All Numbers Disappeared in an Array |
| 306 |
Maximum Subarray |
| 307 |
Reformat Date |
| 308 |
Largest Odd Number in String |
| 309 |
Build Array from Permutation |
| 310 |
Find Lucky Integer in an Array |
| 311 |
Best time to buy & sell a stock II |
| 312 |
Nested List Weight Sum |
| 313 |
Relative ranks |
| 314 |
Palindrome Permutation |
| 315 |
Find Winner on a Tic Tac Toe Game |
| 316 |
Merge two binary trees |
| 317 |
Power of Three |
| 318 |
Lemonade Change |
| 319 |
Length of last word |
| 320 |
Increasing Decreasing String |
| 321 |
N-th Tribonacci Number |
| 322 |
Longest Common Prefix |
| 323 |
Minimum Time Visiting All Points |
| 324 |
Number of Different Integers in a String |
| 325 |
Add Strings |
| 326 |
Maximum Ascending Subarray Sum |
| 327 |
Best Time to Buy and Sell Stock |
| 328 |
String Compression |
| 329 |
Lowest Common Ancestor of a Binary Search Tree |
| 330 |
Determine if String Halves Are Alike |
| 331 |
Find the difference |
| 332 |
Leaf Similar Tree |
| 333 |
Replace All Digits with Characters |
| 334 |
Largest Substring Between Two Equal Characters |
| 335 |
Strobogrammatic Number |
| 336 |
Next Greater Element I |
| 337 |
Remove Outermost Parentheses |
| 338 |
Replace All ?'s to Avoid Consecutive Repeating Characters |
| 339 |
Two Sum Less Than K |
| 340 |
Majority Element |
| 341 |
Merge Sorted Array |
| 342 |
Unique Morse Code Words |
| 343 |
Divisor Game |
| 344 |
Find Numbers with Even Number of Digits |
| 345 |
Implement Queue using Stacks |
| 346 |
N-ary Tree Preorder Traversal |
| 347 |
Delete node in a linked list |
| 348 |
Sort Array By Parity II |
| 349 |
Most Visited Sector in a Circular Track |
| 350 |
Greatest Common Divisor of Strings |
| 351 |
Remove Element |
| 352 |
Maximum Subarray Sum I |
| 353 |
Partition Array Into Three Parts With Equal Sum |
| 354 |
Remove Duplicates From Sorted Lists |
| 355 |
Meeting Rooms |
| 356 |
Crawler Log Folder |
| 357 |
Range Sum Query Immutable |
| 358 |
Intersection of two Linked Lists |
| 359 |
Can Place Flowers |
| 360 |
Generate a String With Characters That Have Odd Counts |
| 361 |
Array Partition I |
| 362 |
Next Greater Element |
| 363 |
Perfect Number |
| 364 |
Sum of Digits in the Minimum Number |
| 365 |
Guess Number Higher or Lower |
| 366 |
Self Dividing Number |
| 367 |
Design HashMap |
| 368 |
Minimum Time to Type Word Using Special Typewriter |
| 369 |
Search in a Binary Search Tree |
| 370 |
Count Largest Group |
| 371 |
Sum of Unique Elements |
| 372 |
Moving Average from Data Stream |
| 373 |
Symmetric Tree |
| 374 |
Maximum Product of Two Elements in an Array |
| 375 |
Find Common Characters |
| 376 |
Lucky Numbers in a Matrix |
| 377 |
Remove Vowels from a String |
| 378 |
Add Digits |
| 379 |
Contains Duplicate II |
| 380 |
Two City Scheduling |
| 381 |
Minimum Index Sum of Two Lists |
| 382 |
contains_duplicates |
| 383 |
Closest Binary Search Tree Value |
| 384 |
Sum of Digits in Base K |
| 385 |
Distribute Candies to People |
| 386 |
Distribute Candies |
| 387 |
Check If a Number Is Majority Element in a Sorted Array |
| 388 |
Path Sum III |
| 389 |
Verifying an Alien Dictionary |
| 390 |
Longest Palindrome |
| 391 |
Sum of All Odd Length Subarrays |
| 392 |
Average Salary Excluding the Minimum and Maximum Salary |
| 393 |
Single Number |
| 394 |
Keyboard Row |
| 395 |
Squares of a Sorted Array |
| 396 |
Rearrange Spaces Between Words |
| 397 |
Count Square Sum Triples |
| 398 |
Maximum Distance in Arrays |
| 399 |
Unique Number of Occurrences |
| 400 |
Day of the Week |
| 401 |
Minimum Distance Between BST Nodes |
| 402 |
Number of Students Unable to Eat Lunch |
| 403 |
Search Insert Position |
| 404 |
Longest Univalue Path |
| 405 |
Maximum Depth of N-ary Tree |
| 406 |
Thousand Separator |
| 407 |
Add Binary |
| 408 |
Convert Binary Number in a Linked List to Integer |
| 409 |
Sorting the Sentence |
| 410 |
Replace Elements with Greatest Element on Right Side |
| 411 |
Matrix Diagonal Sum |
| 412 |
Check Array Formation Through Concatenation |
| 413 |
Water Bottles |
| 414 |
Add to Array-Form of Integer |
| 415 |
Fibonacci Numbers |
| 416 |
Missing Number In Arithmetic Progression |
| 417 |
Maximum Number of Balls in a Box |
| 418 |
Mean of Array After Removing Some Elements |
| 419 |
N-Repeated Element in Size 2N Array |
| 420 |
Redistribute Characters to Make All Strings Equal |
| 421 |
Remove All Adjacent Duplicates In String |
| 422 |
Minimum Absolute Difference in BST |
| 423 |
Image Smoother |
| 424 |
How Many Apples Can You Put into the Basket |
| 425 |
Second Minimum Node in a binary tree |
| 426 |
Excel Sheet Column Number |
| 427 |
Same Tree |
| 428 |
Count Odd Numbers in an Interval Range |
| 429 |
String Without AAA or BBB |
| 430 |
Find Greatest Common Divisor of Array |
| 431 |
Shortest Unsorted Continuous Subarray |
| 432 |
Longest Word in Dictionary |
| 433 |
Happy Number |
| 434 |
Array Transformation |
| 435 |
Design Compressed String Iterator |
| 436 |
Reverse words in a String III |
| 437 |
Rank Transform of an Array |
| 438 |
First Bad Version |
| 439 |
Sort Integers by The Number of 1 Bits |
| 440 |
sum_of_two_integers |
| 441 |
Construct String from Binary Tree |
| 442 |
Toeplitz Matrix |
| 443 |
Second Largest Digit in a String |
| 444 |
Valid Palindrome |
| 445 |
Relative Sort Array |
| 446 |
Path In Zigzag Labelled Binary Tree |
| 447 |
Shortest Completing Word |
| 448 |
Nim Game |
| 449 |
Count Substrings with Only One Distinct Letter |
| 450 |
Average of Levels in Binary Tree |
| 451 |
Merge Strings Alternately |