C++ solution of problems from LeetCode.
| # | Title | Solution |
|---|---|---|
| 1 | Suffix Array | C++ |
| 2 | Longest Common Prefix | C++ |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1929 | Concatenation of Array | C++ | Easy |
| 1920 | Build Array from Permutation | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1773 | Count Items Matching a Rule | C++ | Easy |
| 1769 | Minimum Number of Operations to Move All Balls to Each Box | C++ | Easy |
| 1720 | Decode XORed Array | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1689 | Partitioning Into Minimum Number Of Deci-Binary Numbers | C++ | Medium |
| 1678 | Goal Parser Interpretation | C++ | Easy |
| 1672 | Richest Customer Wealth | C++ | Easy |
| 1603 | Design Parking System | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1528 | Shuffle String | C++ | Easy |
| 1512 | Number of Good Pairs | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1480 | Running Sum of 1d Array | C++ | Easy |
| 1470 | Shuffle the Array | C++ | Easy |
| 1431 | Kids With the Greatest Number of Candies | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1389 | Create Target Array in the Given Order | C++ | Easy |
| 1365 | How Many Numbers Are Smaller Than the Current Number | C++ | Easy |
| 1342 | Number of Steps to Reduce a Number to Zero | C++ | Easy |
| 1313 | Decompress Run-Length Encoded List | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1296 | Divide Array in Sets of K Consecutive Numbers | C++ | Medium |
| 1295 | Find Numbers with Even Number of Digits | C++ | Easy |
| 1291 | Sequential Digits | C++ | Medium |
| 1290 | Convert Binary Number in a Linked List to Integer | C++ | Easy |
| 1283 | Find the Smallest Divisor Given a Threshold | C++ | Medium |
| 1282 | Group the People Given the Group Size They Belong To | C++ | Medium |
| 1281 | Subtract the Product and Sum of Digits of an Integer | C++ | Easy |
| 1277 | Count Square Submatrices with All Ones | C++ | Medium |
| 1276 | Number of Burgers with No Waste of Ingredients | C++ | Medium |
| 1275 | Find Winner on a Tic Tac Toe Game | C++ | Easy |
| 1268 | Search Suggestions System | C++ | Medium |
| 1267 | Count Servers that Communicate | C++ | Medium |
| 1266 | Minimum Time Visiting All Points | C++ | Easy |
| 1200 | Minimum Absolute Difference | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1191 | K-Concatenation Maximum Sum | C++ | Medium |
| 1190 | Reverse Substrings Between Each Pair of Parentheses | C++ | Medium |
| 1189 | Maximum Number of Balloons | C++ | Easy |
| 1186 | Maximum Subarray Sum with One Deletion | C++ | Medium |
| 1185 | Day of the Week | C++ | Easy |
| 1184 | Distance Between Bus Stops | C++ | Easy |
| 1108 | Defanging an IP Address | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 999 | Available Captures for Rook | C++ | Medium |
| 998 | Maximum Binary Tree II | C++ | Easy |
| 997 | Find the Town Judge | C++ | Easy |
| 995 | Minimum Number of K Consecutive Bit Flips | C++ | Hard |
| 994 | Rotting Oranges | C++ | Easy |
| 993 | Cousins in Binary Tree | C++ | Easy |
| 991 | Broken Calculator | C++ | Medium |
| 990 | Satisfiability of Equality Equations | C++ | Medium |
| 989 | Add to Array-Form of Integer | C++ | Easy |
| 988 | Smallest String Starting From Leaf | C++ | Medium |
| 985 | Sum of Even Numbers After Queries | C++ | Easy |
| 984 | String Without AAA or BBB | C++ | Easy |
| 983 | Minimum Cost For Tickets | C++ | Medium |
| 981 | Time Based Key-Value Store | C++ | Medium |
| 977 | Squares of a Sorted Array | C++ | Easy |
| 926 | Flip String to Monotone Increasing | C++ | Medium |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 771 | Jewels and Stones | C++ | Easy |
| 709 | To Lower Case | C++ | Easy |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 681 | Next Closest Time | C++ | Medium |
| 674 | Longest Continuous Increasing Subsequence | C++ | Easy |
| 673 | Number of Longest Increasing Subsequence | C++ | Medium |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 482 | License Key Formatting | C++ | Easy |
| 454 | 4Sum II | C++ | Medium |
| 448 | Find All Numbers Disappeared in an Array | C++ | Easy |
| 442 | Find All Duplicates in an Array | C++ | Easy |
| 418 | Sentence Screen Fitting | C++ | Medium |
| 410 | Split Array Largest Sum | C++ | Hard |
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 393 | UTF-8 Validation | C++ | Medium |
| 388 | Longest Absolute File Path | C++ | Medium |
| 387 | First Unique Character in a String | C++ | Easy |
| 382 | Linked List Random Node | C++ | Hard |
| 380 | Insert Delete GetRandom O(1) | C++ | Hard |
| 378 | Kth Smallest Element in a Sorted Matrix | C++ | Medium |
| 361 | Bomb Enemy | C++ | Medium |
| 350 | Intersection of Two Arrays II | C++ | Easy |
| 347 | Top K Frequent Elements | C++ | Medium |
| 346 | Moving Average from Data Stream | C++ | Easy |
| 340 | Longest Substring with At Most K Distinct Characters | C++ | Hard |
| 334 | Increasing Triplet Subsequence | C++ | Medium |
| 332 | Reconstruct Itinerary | C++ | Medium |
| 329 | Longest Increasing Path in a Matrix | C++ | Medium |
| 328 | Odd Even Linked List | C++ | Easy |
| 326 | Power of Three | C++ | Easy |
| 322 | Coin Change | C++ | Medium |
| 315 | Count of Smaller Numbers After Self | C++ | Hard |
| 307 | Range Sum Query - Mutable | C++ | Medium |
| 301 | Remove Invalid Parentheses | C++ | Hard |