Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/astrodynamic/leetcode

A collection of LeetCode problem solutions in various languages.
https://github.com/astrodynamic/leetcode

algorithm-implementation algorithms code-challenges code-practice coding competitive-programming data-structures-and-algorithms interview-preparation leetcode problem-solving problem-solving-skills programming solutions technical-interview

Last synced: 2 days ago
JSON representation

A collection of LeetCode problem solutions in various languages.

Awesome Lists containing this project

README

        

# Solutions for LeetCode Problems

**Table of Contents**

- [Solutions for LeetCode Problems](#solutions-for-leetcode-problems)

- [Introduction](#introduction)
- [Algorithm Problems](#algorithm-problems)
- [LICENSE](#license)

## Introduction

This repository contains solutions to various LeetCode problems. Each problem is listed in a table with the problem name, a link to the problem, the chosen language for the implementation, a link to the implementation file, and the difficulty level of the problem.

## Algorithm Problems

| # | Problem | Language | Difficulty |
| ---- | -------------------------------------------------------------------------- | -------------------- | ---------- |
| 0001 | [Two Sum][0001] | [C++][0001cpp] | Easy |
| 0002 | [Add Two Numbers][0002] | [C++][0002cpp] | Medium |
| 0009 | [Palindrome Number][0009] | [C++][0009cpp] | Easy |
| 0013 | [Roman to Integer][0013] | [C++][0013cpp] | Easy |
| 0014 | [Longest Common Prefix][0014] | [C++][0014cpp] | Easy |
| 0020 | [Valid Parentheses][0020] | [C++][0020cpp] | Easy |
| 0021 | [Merge Two Sorted Lists][0021] | [C++][0021cpp] | Easy |
| 0026 | [Remove Duplicates from Sorted Array][0026] | [C++][0026cpp] | Easy |
| 0027 | [Remove Element][0027] | [C++][0027cpp] | Easy |
| 0066 | [Plus One][0066] | [C++][0066cpp] | Easy |
| 0067 | [Add Binary][0067] | [C++][0067cpp] | Easy |
| 0069 | [Sqrt(x)][0069] | [C++][0069cpp] | Easy |
| 0121 | [Best Time to Buy and Sell Stock][0121] | [C++][0121cpp] | Easy |
| 0125 | [Valid Palindrome][0125] | [C++][0125cpp] | Easy |
| 0136 | [Single Number][0136] | [C++][0136cpp] | Easy |
| 0137 | [Single Number II][0137] | [C++][0137cpp] | Medium |
| 0141 | [Linked List Cycle][0141] | [C++][0141cpp] | Easy |
| 0203 | [Remove Linked List Elements][0203] | [C++][0203cpp] | Easy |
| 0217 | [Contains Duplicate][0217] | [C++][0217cpp] | Easy |
| 0219 | [Contains Duplicate II][0219] | [C++][0219cpp] | Easy |
| 0237 | [Delete Node in a Linked List][0237] | [C++][0237cpp] | Medium |
| 0260 | [Single Number III][0260] | [C++][0260cpp] | Medium |
| 0344 | [Reverse String][0344] | [C++][0344cpp] | Easy |
| 0350 | [Intersection of Two Arrays II][0350] | [C++][0350cpp] | Easy |
| 0378 | [Ransom Note][0378] | [C++][0378cpp] | Easy |
| 0412 | [Fizz Buzz][0412] | [C++][0412cpp] | Easy |
| 0441 | [Arranging Coins][0441] | [C++][0441cpp] | Easy |
| 0535 | [Encode and Decode TinyURL][0535] | [C++][0535cpp] | Medium |
| 0557 | [Reverse Words in a String III][0557] | [C++][0557cpp] | Easy |
| 0628 | [Maximum Product of Three Numbers][0628] | [C++][0628cpp] | Easy |
| 0654 | [Maximum Binary Tree][0654] | [C++][0654cpp] | Medium |
| 0680 | [Valid Palindrome II][0680] | [C++][0680cpp] | Easy |
| 0709 | [To Lower Case][0709] | [C++][0709cpp] | Easy |
| 0771 | [Jewels and Stones][0771] | [C++][0771cpp] | Easy |
| 0797 | [All Paths From Source to Target][0797] | [C++][0797cpp] | Medium |
| 0804 | [Unique Morse Code Words][0804] | [C++][0804cpp] | Easy |
| 0807 | [Max Increase to Keep City Skyline][0807] | [C++][0807cpp] | Medium |
| 0832 | [Flipping an Image][0832] | [C++][0832cpp] | Easy |
| 0876 | [Middle of the Linked List][0876] | [C++][0876cpp] | Easy |
| 0885 | [Spiral Matrix III][0885] | [C++][0885cpp] | Medium |
| 0894 | [All Possible Full Binary Trees][0894] | [C++][0894cpp] | Medium |
| 0938 | [Range Sum of BST][0938] | [C++][0938cpp] | Easy |
| 0950 | [Reveal Cards In Increasing Order][0950] | [C++][0950cpp] | Medium |
| 1021 | [Remove Outermost Parentheses][1021] | [C++][1021cpp] | Easy |
| 1038 | [Binary Search Tree to Greater Sum Tree][1038] | [C++][1038cpp] | Medium |
| 1108 | [Defanging an IP Address][1108] | [C++][1108cpp] | Easy |
| 1221 | [Split a String in Balanced Strings][1221] | [C++][1221cpp] | Easy |
| 1266 | [Minimum Time Visiting All Points][1266] | [C++][1266cpp] | Easy |
| 1281 | [Subtract the Product and Sum of Digits of an Integer][1281] | [C++][1281cpp] | Easy |
| 1282 | [Group the People Given the Group Size They Belong To][1282] | [C++][1282cpp] | Medium |
| 1302 | [Deepest Leaves Sum][1302] | [C++][1302cpp] | Medium |
| 1313 | [Decompress Run-Length Encoded List][1313] | [C++][1313cpp] | Easy |
| 1315 | [Sum of Nodes with Even-Valued Grandparent][1315] | [C++][1315cpp] | Medium |
| 1323 | [Maximum 69 Number][1323] | [C++][1323cpp] | Easy |
| 1329 | [Sort the Matrix Diagonally][1329] | [C++][1329cpp] | Medium |
| 1342 | [Number of Steps to Reduce a Number to Zero][1342] | [C++][1342cpp] | Easy |
| 1365 | [How Many Numbers Are Smaller Than the Current Number][1365] | [C++][1365cpp] | Easy |
| 1379 | [Find a Corresponding Node of a Binary Tree in a Clone of That Tree][1379] | [C++][1379cpp] | Easy |
| 1380 | [Lucky Numbers in a Matrix][1380] | [C++][1380cpp] | Easy |
| 1382 | [Balance a Binary Search Tree][1382] | [C++][1382cpp] | Medium |
| 1389 | [Create Target Array in the Given Order][1389] | [C++][1389cpp] | Easy |
| 1409 | [Queries on a Permutation With Key][1409] | [C++][1409cpp] | Medium |
| 1431 | [Kids With the Greatest Number of Candies][1431] | [C++][1431cpp] | Easy |
| 1442 | [Count Triplets That Can Form Two Arrays of Equal XOR][1442] | [C++][1442cpp] | Medium |
| 1464 | [Maximum Product of Two Elements in an Array][1464] | [C++][1464cpp] | Easy |
| 1470 | [Shuffle the Array][1470] | [C++][1470cpp] | Easy |
| 1476 | [Subrectangle Queries][1476] | [C++][1476cpp] | Medium |
| 1480 | [Running Sum of 1d Array][1480] | [C++][1480cpp] | Easy |
| 1486 | [XOR Operation in an Array][1486] | [C++][1486cpp] | Easy |
| 1512 | [Number of Good Pairs][1512] | [C++][1512cpp] | Easy |
| 1528 | [Shuffle String][1528] | [C++][1528cpp] | Easy |
| 1561 | [Maximum Number of Coins You Can Get][1561] | [C++][1561cpp] | Medium |
| 1572 | [Matrix Diagonal Sum][1572] | [C++][1572cpp] | Easy |
| 1588 | [Sum of All Odd Length Subarrays][1588] | [C++][1588cpp] | Easy |
| 1603 | [Design Parking System][1603] | [C++][1603cpp] | Easy |
| 1605 | [Find Valid Matrix Given Row and Column Sums][1605] | [C++][1605cpp] | Medium |
| 1608 | [Special Array With X Elements Greater Than or Equal X][1608] | [C++][1608cpp] | Easy |
| 1614 | [Maximum Nesting Depth of the Parentheses][1614] | [C++][1614cpp] | Easy |
| 1630 | [Arithmetic Subarrays][1630] | [C++][1630cpp] | Medium |
| 1636 | [Sort Array by Increasing Frequency][1636] | [C++][1636cpp] | Easy |
| 1637 | [Widest Vertical Area Between Two Points Containing No Points][1637] | [C++][1637cpp] | Easy |
| 1656 | [Design an Ordered Stream][1656] | [C++][1656cpp] | Easy |
| 1662 | [Check If Two String Arrays are Equivalent][1662] | [C++][1662cpp] | Easy |
| 1672 | [Richest Customer Wealth][1672] | [C++][1672cpp] | Easy |
| 1678 | [Goal Parser Interpretation][1678] | [C++][1678cpp] | Easy |
| 1684 | [Count the Number of Consistent Strings][1684] | [C++][1684cpp] | Easy |
| 1688 | [Count of Matches in Tournament][1688] | [C++][1688cpp] | Easy |
| 1689 | [Partitioning Into Minimum Number Of Deci-Binary Numbers][1689] | [C++][1689cpp] | Medium |
| 1720 | [Decode XORed Array][1720] | [C++][1720cpp] | Easy |
| 1725 | [Number Of Rectangles That Can Form The Largest Square][1725] | [C++][1725cpp] | Easy |
| 1732 | [Find the Highest Altitude][1732] | [C++][1732cpp] | Easy |
| 1735 | [Count Ways to Make Array With Product][1735] | [C++][1735cpp] | Hard |
| 1769 | [Minimum Number of Operations to Move All Balls to Each Box][1769] | [C++][1769cpp] | Medium |
| 1773 | [Count Items Matching a Rule][1773] | [C++][1773cpp] | Easy |
| 1791 | [Find Center of Star Graph][1791] | [C++][1791cpp] | Easy |
| 1816 | [ Truncate Sentence][1816] | [C++][1816cpp] | Easy |
| 1823 | [Find the Winner of the Circular Game][1823] | [C++][1823cpp] | Medium |
| 1828 | [Queries on Number of Points Inside a Circle][1828] | [C++][1828cpp] | Medium |
| 1832 | [Check if the Sentence Is Pangram][1832] | [C++][1832cpp] | Easy |
| 1859 | [Sorting the Sentence][1859] | [C++][1859cpp] | Easy |
| 1863 | [Sum of All Subset XOR Totals][1863] | [C++][1863cpp] | Easy |
| 1913 | [Maximum Product Difference Between Two Pairs][1913] | [C++][1913cpp] | Easy |
| 1920 | [Build Array from Permutation][1920] | [C++][1920cpp] | Easy |
| 1929 | [Concatenation of Array][1929] | [C++][1929cpp] | Easy |
| 1945 | [Sum of Digits of String After Convert][1945] | [C++][1945cpp] | Easy |
| 2000 | [Reverse Prefix of Word][2000] | [C++][2000cpp] | Easy |
| 2006 | [Count Number of Pairs With Absolute Difference K][2006] | [C++][2006cpp] | Easy |
| 2011 | [Final Value of Variable After Performing Operations][2011] | [C++][2011cpp] | Easy |
| 2037 | [Minimum Number of Moves to Seat Everyone][2037] | [C++][2037cpp] | Easy |
| 2053 | [Kth Distinct String in an Array][2053] | [C++][2053cpp] | Easy |
| 2108 | [Find First Palindromic String in the Array][2108] | [C++][2108cpp] | Easy |
| 2114 | [Maximum Number of Words Found in Sentences][2114] | [C++][2114cpp] | Easy |
| 2120 | [Execution of All Suffix Instructions Staying in a Grid][2120] | [C++][2120cpp] | Medium |
| 2125 | [Number of Laser Beams in a Bank][2125] | [C++][2125cpp] | Medium |
| 2149 | [Rearrange Array Elements by Sign][2149] | [C++][2149cpp] | Medium |
| 2194 | [Cells in a Range on an Excel Sheet][2194] | [C++][2194cpp] | Easy |
| 2160 | [Minimum Sum of Four Digit Number After Splitting Digits][2160] | [C++][2160cpp] | Easy |
| 2161 | [Partition Array According to Given Pivot][2161] | [C++][2161cpp] | Medium |
| 2188 | [Merge Nodes in Between Zeros][2188] | [C++][2188cpp] | Medium |
| 2220 | [Minimum Bit Flips to Convert Number][2220] | [C++][2220cpp] | Easy |
| 2236 | [Root Equals Sum of Children][2236] | [C++][2236cpp] | Easy |
| 2235 | [Add Two Integers][2235] | [C++][2235cpp] | Easy |
| 2265 | [Count Nodes Equal to Average of Subtrees][2265] | [C++][2265cpp] | Medium |
| 2315 | [Count Asterisks][2315] | [C++][2315cpp] | Easy |
| 2325 | [Decode the Message][2325] | [C++][2325cpp] | Easy |
| 2331 | [Evaluate Boolean Binary Tree][2331] | [C++][2331cpp] | Easy |
| 2367 | [Number of Arithmetic Triplets][2367] | [C++][2367cpp] | Easy |
| 2373 | [Largest Local Values in a Matrix][2373] | [C++][2373cpp] | Easy |
| 2391 | [Minimum Amount of Time to Collect Garbage][2391] | [C++][2391cpp] | Medium |
| 2396 | [Strictly Palindromic Number][2396] | [C++][2396cpp] | Medium |
| 2413 | [Smallest Even Multiple][2413] | [C++][2413cpp] | Easy |
| 2418 | [Sort the People][2418] | [C++][2418cpp] | Easy |
| 2433 | [Find The Original Array of Prefix Xor][2433] | [C++][2433cpp] | Medium |
| 2469 | [Convert the Temperature][2469] | [C++][2469cpp] | Easy |
| 2482 | [Difference Between Ones and Zeros in Row and Column][2482] | [C++][2482cpp] | Medium |
| 2485 | [Find the Pivot Integer][2485] | [C++][2485cpp] | Easy |
| 2520 | [Count the Digits That Divide a Number][2520] | [C++][2520cpp] | Easy |
| 2523 | [Closest Prime Numbers in Range][2523] | [C++][2523cpp] | Medium |
| 2535 | [Difference Between Element Sum and Digit Sum of an Array][2535] | [C++][2535cpp] | Easy |
| 2545 | [Sort the Students by Their Kth Score][2545] | [C++][2545cpp] | Medium |
| 2549 | [Count Distinct Numbers on Board][2549] | [C++][2549cpp] | Easy |
| 2574 | [Left and Right Sum Differences][2574] | [C++][2574cpp] | Easy |
| 2610 | [Convert an Array Into a 2D Array With Conditions][2610] | [C++][2610cpp] | Medium |
| 2652 | [Sum Multiples][2652] | [C++][2652cpp] | Easy |
| 2656 | [Maximum Sum With Exactly K Elements][2656] | [C++][2656cpp] | Easy |
| 2678 | [Number of Senior Citizens][2678] | [C++][2678cpp] | Easy |
| 2697 | [Lexicographically Smallest Palindrome][2697] | [C++][2697cpp] | Easy |
| 2703 | [Return Length of Arguments Passed][2703] | [JavaScript][2703js] | Easy |
| 2769 | [Find the Maximum Achievable Number][2769] | [C++][2769cpp] | Easy |
| 2798 | [Number of Employees Who Met the Target][2798] | [C++][2798cpp] | Easy |
| 2807 | [Insert Greatest Common Divisors in Linked List][2807] | [C++][2807cpp] | Medium |
| 2810 | [Faulty Keyboard][2810] | [C++][2810cpp] | Easy |
| 2824 | [Count Pairs Whose Sum is Less than Target][2824] | [C++][2824cpp] | Easy |
| 2828 | [Check if a String Is an Acronym of Words in Sentence][2828] | [C++][2828cpp] | Eady |
| 2859 | [Sum of Values at Indices With K Set Bits][2859] | [C++][2859cpp] | Easy |
| 2864 | [Maximum Odd Binary Number][2864] | [C++][2864cpp] | Easy |
| 2894 | [Divisible and Non-divisible Sums Difference][2894] | [C++][2894cpp] | Easy |
| 2913 | [Subarrays Distinct Element Sum of Squares I][2913] | [C++][2913cpp] | Easy |
| 2942 | [Find Words Containing Character][2942] | [C++][2942cpp] | Easy |
| 2956 | [Find Common Elements Between Two Arrays][2956] | [C++][2956cpp] | Easy |
| 2974 | [Minimum Number Game][2974] | [C++][2974cpp] | Easy |
| 2997 | [Minimum Number of Operations to Make Array XOR Equal to K][2997] | [C++][2997cpp] | Medium |
| 3065 | [Minimum Operations to Exceed Threshold Value I][3065] | [C++][3065cpp] | Easy |
| 3099 | [Harshad Number][3099] | [C++][3099cpp] | Easy |
| 3110 | [Score of a String][3110] | [C++][3110cpp] | Easy |
| 3131 | [Find the Integer Added to Array I][3131] | [C++][3131cpp] | Easy |
| 3146 | [Permutation Difference between Two Strings][3146] | [C++][3146cpp] | Easy |
| 3158 | [Find the XOR of Numbers Which Appear Twice][3158] | [C++][3158cpp] | Easy |
| 3162 | [Find the Number of Good Pairs I][3162] | [C++][3162cpp] | Easy |
| 3190 | [Find Minimum Operations to Make All Elements Divisible by Three][3190] | [C++][3190cpp] | Easy |
| 3194 | [Minimum Average of Smallest and Largest Elements][3194] | [C++][3194cpp] | Easy |
| 3211 | [Generate Binary Strings Without Adjacent Zeros][3211] | [C++][3211cpp] | Medium |
| 3232 | [Find if Digit Game Can Be Woned][3232] | [C++][3232cpp] | Easy |
| 3242 | [Design Neighbor Sum Services][3242] | [C++][3242cpp] | Easy |
| 3248 | [Snake in Matrix][3248] | [C++][3248cpp] | Easy |
| 3280 | [Convert Date to Binary][3180] | [C++][3280cpp] | Easy |

## LICENSE

This project is licensed under the [LICENSE](LICENSE).

[0001]: https://leetcode.com/problems/two-sum/
[0001cpp]: https://leetcode.com/submissions/detail/948426050/
[0002]: https://leetcode.com/problems/add-two-numbers/
[0002cpp]: https://leetcode.com/submissions/detail/1247742787/
[0009]: https://leetcode.com/problems/palindrome-number/
[0009cpp]: https://leetcode.com/submissions/detail/948438457/
[0013]: https://leetcode.com/problems/roman-to-integer/
[0013cpp]: https://leetcode.com/submissions/detail/949360425/
[0014]: https://leetcode.com/problems/longest-common-prefix/
[0014cpp]: https://leetcode.com/submissions/detail/1036936497/
[0020]: https://leetcode.com/problems/valid-parentheses/
[0020cpp]: https://leetcode.com/submissions/detail/1036952537/
[0021]: https://leetcode.com/problems/merge-two-sorted-lists/
[0021cpp]: https://leetcode.com/submissions/detail/1036960117/
[0026]: https://leetcode.com/problems/remove-duplicates-from-sorted-array/
[0026cpp]: https://leetcode.com/submissions/detail/1036967711/
[0027]: https://leetcode.com/problems/remove-element/
[0027cpp]: https://leetcode.com/submissions/detail/1143035176/
[0066]: https://leetcode.com/problems/plus-one/
[0066cpp]: https://leetcode.com/submissions/detail/1039769790/
[0067]: https://leetcode.com/problems/add-binary/
[0067cpp]: https://leetcode.com/submissions/detail/1037990830/
[0069]: https://leetcode.com/problems/sqrtx
[0069cpp]: https://leetcode.com/submissions/detail/1143379297/
[0121]: https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
[0121cpp]: https://leetcode.com/submissions/detail/1037934208/
[0125]: https://leetcode.com/problems/valid-palindrome/
[0125cpp]: https://leetcode.com/submissions/detail/1037955911/
[0136]: https://leetcode.com/problems/single-number/
[0136cpp]: https://leetcode.com/submissions/detail/1250124031/
[0137]: https://leetcode.com/problems/single-number-ii/
[0137cpp]: https://leetcode.com/submissions/detail/1250140139/
[0141]: https://leetcode.com/problems/linked-list-cycle/
[0141cpp]: https://leetcode.com/submissions/detail/1040027578/
[0203]: https://leetcode.com/problems/remove-linked-list-elements/
[0203cpp]: https://leetcode.com/submissions/detail/1250117737/
[0217]: https://leetcode.com/problems/contains-duplicate/
[0217cpp]: https://leetcode.com/submissions/detail/1040044205/
[0219]: https://leetcode.com/problems/contains-duplicate-ii/
[0219cpp]: https://leetcode.com/submissions/detail/1040064641/
[0237]: https://leetcode.com/problems/delete-node-in-a-linked-list/
[0237cpp]: https://leetcode.com/submissions/detail/1249999235/
[0260]: https://leetcode.com/problems/single-number-iii/
[0260cpp]: https://leetcode.com/submissions/detail/1250149156/
[0344]: https://leetcode.com/problems/reverse-string/
[0344cpp]: https://leetcode.com/submissions/detail/1038001012/
[0350]: https://leetcode.com/problems/intersection-of-two-arrays-ii/
[0350cpp]: https://leetcode.com/submissions/detail/1306991032/
[0378]: https://leetcode.com/problems/ransom-note/
[0378cpp]: https://leetcode.com/submissions/detail/1036903851/
[0412]: https://leetcode.com/problems/fizz-buzz/
[0412cpp]: https://leetcode.com/submissions/detail/1036866232/
[0441]: https://leetcode.com/problems/arranging-coins/
[0441cpp]: https://leetcode.com/submissions/detail/1250216659/
[0535]: https://leetcode.com/problems/encode-and-decode-tinyurl/
[0535cpp]: https://leetcode.com/submissions/detail/1290161442/
[0557]: https://leetcode.com/problems/reverse-words-in-a-string-iii/
[0557cpp]: https://leetcode.com/submissions/detail/1072820965/
[0628]: https://leetcode.com/problems/maximum-product-of-three-numbers/
[0628cpp]: https://leetcode.com/submissions/detail/1037692372/
[0654]: https://leetcode.com/problems/maximum-binary-tree/
[0654cpp]: https://leetcode.com/submissions/detail/1300237881/
[0680]: https://leetcode.com/problems/valid-palindrome-ii/
[0680cpp]: https://leetcode.com/submissions/detail/1037968613/
[0709]: https://leetcode.com/problems/to-lower-case/
[0709cpp]: https://leetcode.com/submissions/detail/1057104517/
[0771]: https://leetcode.com/problems/jewels-and-stones/
[0771cpp]: https://leetcode.com/submissions/detail/1050861136/
[0797]: https://leetcode.com/problems/all-paths-from-source-to-target/
[0797cpp]: https://leetcode.com/submissions/detail/1334961819/
[0804]: https://leetcode.com/problems/unique-morse-code-words/
[0804cpp]: https://leetcode.com/submissions/detail/1057067079/
[0807]: https://leetcode.com/problems/max-increase-to-keep-city-skyline/
[0807cpp]: https://leetcode.com/submissions/detail/1290427634/
[0832]: https://leetcode.com/problems/flipping-an-image/
[0832cpp]: https://leetcode.com/submissions/detail/1369828417/
[0876]: https://leetcode.com/problems/middle-of-the-linked-list/
[0876cpp]: https://leetcode.com/submissions/detail/1036889642/
[0885]: https://leetcode.com/problems/spiral-matrix-iii/
[0885cpp]: https://leetcode.com/submissions/detail/1354426992/
[0894]: https://leetcode.com/problems/all-possible-full-binary-trees/
[0894cpp]: https://leetcode.com/submissions/detail/1336071922/
[0938]: https://leetcode.com/problems/range-sum-of-bst/
[0938cpp]: https://leetcode.com/submissions/detail/1051825768/
[0950]: https://leetcode.com/problems/reveal-cards-in-increasing-order/
[0950cpp]: https://leetcode.com/submissions/detail/1338216339/
[1021]: https://leetcode.com/problems/remove-outermost-parentheses/
[1021cpp]: https://leetcode.com/submissions/detail/1331929427/
[1038]: https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree/
[1038cpp]: https://leetcode.com/submissions/detail/1290408022/
[1108]: https://leetcode.com/problems/defanging-an-ip-address/
[1108cpp]: https://leetcode.com/submissions/detail/1048635629/
[1221]: https://leetcode.com/problems/split-a-string-in-balanced-strings/
[1221cpp]: https://leetcode.com/submissions/detail/1051871448/
[1266]: https://leetcode.com/problems/minimum-time-visiting-all-points/
[1266cpp]: https://leetcode.com/submissions/detail/1357598637/
[1281]: https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/
[1281cpp]: https://leetcode.com/submissions/detail/1051743818/
[1282]: https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to/
[1282cpp]: https://leetcode.com/submissions/detail/1290293523/
[1302]: https://leetcode.com/problems/deepest-leaves-sum/
[1302cpp]: https://leetcode.com/submissions/detail/1290145143/
[1313]: https://leetcode.com/problems/decompress-run-length-encoded-list/
[1313cpp]: https://leetcode.com/submissions/detail/1051859265/
[1315]: https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent/
[1315cpp]: https://leetcode.com/submissions/detail/1292478762/
[1323]: https://leetcode.com/problems/maximum-69-number/
[1323cpp]: https://leetcode.com/submissions/detail/1368246860/
[1329]: https://leetcode.com/problems/sort-the-matrix-diagonally/
[1329cpp]: https://leetcode.com/submissions/detail/1341659351/
[1342]: https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/
[1342cpp]: https://leetcode.com/submissions/detail/1036875175/
[1365]: https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/
[1365cpp]: https://leetcode.com/submissions/detail/1051734090/
[1379]: https://leetcode.com/problems/find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree/
[1379cpp]: https://leetcode.com/submissions/detail/1051774944/
[1380]: https://leetcode.com/problems/lucky-numbers-in-a-matrix/
[1380cpp]: https://leetcode.com/submissions/detail/1326036063/
[1382]: https://leetcode.com/problems/balance-a-binary-search-tree/
[1382cpp]: https://leetcode.com/submissions/detail/1300688990/
[1389]: https://leetcode.com/problems/create-target-array-in-the-given-order/
[1389cpp]: https://leetcode.com/submissions/detail/1051840440/
[1409]: https://leetcode.com/problems/queries-on-a-permutation-with-key/
[1409cpp]: https://leetcode.com/submissions/detail/1269377872/
[1431]: https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/
[1431cpp]: https://leetcode.com/submissions/detail/1050820950/
[1442]: https://leetcode.com/problems/count-triplets-that-can-form-two-arrays-of-equal-xor/
[1442cpp]: https://leetcode.com/submissions/detail/1250177461/
[1464]: https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/
[1464cpp]: https://leetcode.com/submissions/detail/1337026824/
[1470]: https://leetcode.com/problems/shuffle-the-array/
[1470cpp]: https://leetcode.com/submissions/detail/1049530990/
[1476]: https://leetcode.com/problems/subrectangle-queries/
[1476cpp]: https://leetcode.com/submissions/detail/1290338879/
[1480]: https://leetcode.com/problems/running-sum-of-1d-array/
[1480cpp]: https://leetcode.com/submissions/detail/1036830470/
[1486]: https://leetcode.com/problems/xor-operation-in-an-array/
[1486cpp]: https://leetcode.com/submissions/detail/1051731597/
[1512]: https://leetcode.com/problems/number-of-good-pairs/
[1512cpp]: https://leetcode.com/submissions/detail/1050836269/
[1528]: https://leetcode.com/problems/shuffle-string/
[1528cpp]: https://leetcode.com/submissions/detail/1053813102/
[1561]: https://leetcode.com/problems/maximum-number-of-coins-you-can-get/
[1561cpp]: https://leetcode.com/submissions/detail/1317421301/
[1572]: https://leetcode.com/problems/matrix-diagonal-sum/
[1572cpp]: https://leetcode.com/submissions/detail/1057101150/
[1588]: https://leetcode.com/problems/sum-of-all-odd-length-subarrays/
[1588cpp]: https://leetcode.com/submissions/detail/1333859168/
[1603]: https://leetcode.com/problems/design-parking-system/
[1603cpp]: https://leetcode.com/submissions/detail/1050856642/
[1605]: https://leetcode.com/problems/find-valid-matrix-given-row-and-column-sums/
[1605cpp]: https://leetcode.com/submissions/detail/1327225517/
[1608]: https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x/
[1608cpp]: https://leetcode.com/submissions/detail/1269219691/
[1614]: https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/
[1614cpp]: https://leetcode.com/submissions/detail/1317526471/
[1630]: https://leetcode.com/problems/arithmetic-subarrays/
[1630cpp]: https://leetcode.com/submissions/detail/1319227992/
[1636]: https://leetcode.com/problems/sort-array-by-increasing-frequency/
[1636cpp]: https://leetcode.com/submissions/detail/1330423768/
[1637]: https://leetcode.com/problems/widest-vertical-area-between-two-points-containing-no-points
[1637cpp]: https://leetcode.com/submissions/detail/1146584700/
[1656]: https://leetcode.com/problems/design-an-ordered-stream/
[1656cpp]: https://leetcode.com/submissions/detail/1053801183/
[1662]: https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent/
[1662cpp]: https://leetcode.com/submissions/detail/1055717038/
[1672]: https://leetcode.com/problems/richest-customer-wealth/
[1672cpp]: https://leetcode.com/submissions/detail/1036852316/
[1678]: https://leetcode.com/problems/goal-parser-interpretation/
[1678cpp]: https://leetcode.com/submissions/detail/1050792706/
[1684]: https://leetcode.com/problems/count-the-number-of-consistent-strings/
[1684cpp]: https://leetcode.com/submissions/detail/1057058958/
[1688]: https://leetcode.com/problems/count-of-matches-in-tournament/
[1688cpp]: https://leetcode.com/submissions/detail/1292599090/
[1689]: https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/
[1689cpp]: https://leetcode.com/submissions/detail/1251166506/
[1720]: https://leetcode.com/problems/decode-xored-array/
[1720cpp]: https://leetcode.com/submissions/detail/1051833450/
[1725]: https://leetcode.com/problems/number-of-rectangles-that-can-form-the-largest-square/
[1725cpp]: https://leetcode.com/submissions/detail/1047761317/
[1732]: https://leetcode.com/problems/find-the-highest-altitude/
[1732cpp]: https://leetcode.com/submissions/detail/1328256957/
[1735]: https://leetcode.com/problems/count-ways-to-make-array-with-product/
[1735cpp]: https://leetcode.com/submissions/detail/1249984015/
[1769]: https://leetcode.com/problems/minimum-number-of-operations-to-move-all-balls-to-each-box/
[1769cpp]: https://leetcode.com/submissions/detail/1290380820/
[1773]: https://leetcode.com/problems/count-items-matching-a-rule/
[1773cpp]: https://leetcode.com/submissions/detail/1054791343/
[1791]: https://leetcode.com/problems/find-center-of-star-graph/
[1791cpp]: https://leetcode.com/submissions/detail/1301736645/
[1816]: https://leetcode.com/problems/truncate-sentence/
[1816cpp]: https://leetcode.com/submissions/detail/1054767591/
[1823]: https://leetcode.com/problems/find-the-winner-of-the-circular-game/
[1823cpp]: https://leetcode.com/submissions/detail/1313917839/
[1828]: https://leetcode.com/problems/queries-on-number-of-points-inside-a-circle/
[1828cpp]: https://leetcode.com/submissions/detail/1291656472/
[1832]: https://leetcode.com/problems/check-if-the-sentence-is-pangram/
[1832cpp]: https://leetcode.com/submissions/detail/1331908548/
[1859]: https://leetcode.com/problems/sorting-the-sentence/
[1859cpp]: https://leetcode.com/submissions/detail/1333049048/
[1863]: https://leetcode.com/problems/sum-of-all-subset-xor-totals/
[1863cpp]: https://leetcode.com/submissions/detail/1262903739/
[1913]: https://leetcode.com/problems/maximum-product-difference-between-two-pairs/
[1913cpp]: https://leetcode.com/submissions/detail/1348651221/
[1920]: https://leetcode.com/problems/build-array-from-permutation/
[1920cpp]: https://leetcode.com/submissions/detail/1048619629/
[1929]: https://leetcode.com/problems/concatenation-of-array/
[1929cpp]: https://leetcode.com/submissions/detail/1047738300/
[1945]: https://leetcode.com/problems/sum-of-digits-of-string-after-convert/
[1945cpp]: https://leetcode.com/submissions/detail/1379075327/
[2000]: https://leetcode.com/problems/reverse-prefix-of-word/
[2000cpp]: https://leetcode.com/submissions/detail/1291672432/
[2006]: https://leetcode.com/problems/count-number-of-pairs-with-absolute-difference-k/
[2006cpp]: https://leetcode.com/submissions/detail/1057124494/
[2011]: https://leetcode.com/problems/final-value-of-variable-after-performing-operations/
[2011cpp]: https://leetcode.com/submissions/detail/1049539828/
[2037]: https://leetcode.com/problems/minimum-number-of-moves-to-seat-everyone/
[2037cpp]: https://leetcode.com/submissions/detail/1290320910/
[2053]: https://leetcode.com/problems/kth-distinct-string-in-an-array/
[2053cpp]: https://leetcode.com/submissions/detail/1379227998/
[2108]: https://leetcode.com/problems/find-first-palindromic-string-in-the-array/
[2108cpp]: https://leetcode.com/submissions/detail/1317519887/
[2114]: https://leetcode.com/problems/maximum-number-of-words-found-in-sentences/
[2114cpp]: https://leetcode.com/submissions/detail/1051739013/
[2120]: https://leetcode.com/problems/execution-of-all-suffix-instructions-staying-in-a-grid/
[2120cpp]: https://leetcode.com/submissions/detail/1335201211/
[2125]: https://leetcode.com/problems/number-of-laser-beams-in-a-bank/
[2125cpp]: https://leetcode.com/submissions/detail/1292542770/
[2149]: https://leetcode.com/problems/rearrange-array-elements-by-sign/
[2149cpp]: https://leetcode.com/submissions/detail/1269348255/
[2194]: https://leetcode.com/problems/cells-in-a-range-on-an-excel-sheet/
[2194cpp]: https://leetcode.com/submissions/detail/1054783152/
[2160]: https://leetcode.com/problems/minimum-sum-of-four-digit-number-after-splitting-digits/
[2160cpp]: https://leetcode.com/submissions/detail/1051749058/
[2161]: https://leetcode.com/problems/partition-array-according-to-given-pivot/
[2161cpp]: https://leetcode.com/submissions/detail/1340709966/
[2188]: https://leetcode.com/problems/merge-nodes-in-between-zeros/
[2188cpp]: https://leetcode.com/submissions/detail/1290371505/
[2220]: https://leetcode.com/problems/minimum-bit-flips-to-convert-number/
[2220cpp]: https://leetcode.com/submissions/detail/1057089218/
[2236]: https://leetcode.com/problems/root-equals-sum-of-children/
[2236cpp]: https://leetcode.com/submissions/detail/1269764001/
[2235]: https://leetcode.com/problems/add-two-integers/
[2235cpp]: https://leetcode.com/submissions/detail/1050810723/
[2265]: https://leetcode.com/problems/count-nodes-equal-to-average-of-subtree/
[2265cpp]: https://leetcode.com/submissions/detail/1290126716/
[2315]: https://leetcode.com/problems/count-asterisks/
[2315cpp]: https://leetcode.com/submissions/detail/1363220057/
[2325]: https://leetcode.com/problems/decode-the-message/
[2325cpp]: https://leetcode.com/submissions/detail/1057789757/
[2331]: https://leetcode.com/problems/evaluate-boolean-binary-tree/
[2331cpp]: https://leetcode.com/submissions/detail/1355481671/
[2367]: https://leetcode.com/problems/number-of-arithmetic-triplets/
[2367cpp]: https://leetcode.com/submissions/detail/1269281053/
[2373]: https://leetcode.com/problems/largest-local-values-in-a-matrix/
[2373cpp]: https://leetcode.com/submissions/detail/1266050026/
[2391]: https://leetcode.com/problems/minimum-amount-of-time-to-collect-garbage/
[2391cpp]: https://leetcode.com/submissions/detail/1305892538/
[2396]: https://leetcode.com/problems/strictly-palindromic-number/
[2396cpp]: https://leetcode.com/submissions/detail/1290304184/
[2413]: https://leetcode.com/problems/smallest-even-multiple/
[2413cpp]: https://leetcode.com/submissions/detail/1050815450/
[2418]: https://leetcode.com/problems/sort-the-people/
[2418cpp]: https://leetcode.com/submissions/detail/1329359312/
[2433]: https://leetcode.com/problems/find-the-original-array-of-prefix-xor/
[2433cpp]: https://leetcode.com/submissions/detail/1250163210/
[2469]: https://leetcode.com/problems/convert-the-temperature/
[2469cpp]: https://leetcode.com/submissions/detail/1048639718/
[2482]: https://leetcode.com/problems/difference-between-ones-and-zeros-in-row-and-column/
[2482cpp]: https://leetcode.com/submissions/detail/1317500103/
[2485]: https://leetcode.com/problems/find-the-pivot-integer/
[2485cpp]: https://leetcode.com/submissions/detail/1269246110/
[2520]: https://leetcode.com/problems/count-the-digits-that-divide-a-number/
[2520cpp]: https://leetcode.com/submissions/detail/1269768312/
[2523]: https://leetcode.com/problems/closest-prime-numbers-in-range/
[2523cpp]: https://leetcode.com/submissions/detail/1249949917/
[2535]: https://leetcode.com/problems/difference-between-element-sum-and-digit-sum-of-an-array/
[2535cpp]: https://leetcode.com/submissions/detail/1055721752/
[2545]: https://leetcode.com/problems/sort-the-students-by-their-kth-score/
[2545cpp]: https://leetcode.com/submissions/detail/1308728096/
[2549]: https://leetcode.com/problems/count-distinct-numbers-on-board/
[2549cpp]: https://leetcode.com/submissions/detail/1038006278/
[2574]: https://leetcode.com/problems/left-and-right-sum-differences/
[2574cpp]: https://leetcode.com/submissions/detail/1051760337/
[2610]: https://leetcode.com/problems/convert-an-array-into-a-2d-array-with-conditions/
[2610cpp]: https://leetcode.com/submissions/detail/1290260630/
[2652]: https://leetcode.com/problems/sum-multiples/
[2652cpp]: https://leetcode.com/submissions/detail/1053791402/
[2656]: https://leetcode.com/problems/maximum-sum-with-exactly-k-elements/
[2656cpp]: https://leetcode.com/submissions/detail/1379110954/
[2678]: https://leetcode.com/problems/number-of-senior-citizens/
[2678cpp]: https://leetcode.com/submissions/detail/1340677723/
[2697]: https://leetcode.com/problems/lexicographically-smallest-palindrome/
[2697cpp]: https://leetcode.com/submissions/detail/1379203834/
[2703]: https://leetcode.com/problems/return-length-of-arguments-passed/
[2703js]: https://leetcode.com/submissions/detail/1251128177/
[2769]: https://leetcode.com/problems/find-the-maximum-achievable-number/
[2769cpp]: https://leetcode.com/submissions/detail/1049548431/
[2798]: https://leetcode.com/problems/number-of-employees-who-met-the-target/
[2798cpp]: https://leetcode.com/submissions/detail/1050823191/
[2807]: https://leetcode.com/problems/insert-greatest-common-divisors-in-linked-list/
[2807cpp]: https://leetcode.com/submissions/detail/1251175106/
[2810]: https://leetcode.com/problems/faulty-keyboard/
[2810cpp]: https://leetcode.com/submissions/detail/1323886064/
[2824]: https://leetcode.com/problems/count-pairs-whose-sum-is-less-than-target/
[2824cpp]: https://leetcode.com/submissions/detail/1050808683/
[2828]: https://leetcode.com/problems/check-if-a-string-is-an-acronym-of-words/
[2828cpp]: https://leetcode.com/submissions/detail/1334170439/
[2859]: https://leetcode.com/problems/sum-of-values-at-indices-with-k-set-bits/
[2859cpp]: https://leetcode.com/submissions/detail/1051849278/
[2864]: https://leetcode.com/problems/maximum-odd-binary-number/
[2864cpp]: https://leetcode.com/submissions/detail/1333270645/
[2894]: https://leetcode.com/problems/divisible-and-non-divisible-sums-difference
[2894cpp]: https://leetcode.com/submissions/detail/1151703608/
[2913]: https://leetcode.com/problems/subarrays-distinct-element-sum-of-squares-i/
[2913cpp]: https://leetcode.com/submissions/detail/1356314128/
[2942]: https://leetcode.com/problems/find-words-containing-character
[2942cpp]: https://leetcode.com/submissions/detail/1147552529/
[2956]: https://leetcode.com/problems/find-common-elements-between-two-arrays/
[2956cpp]: https://leetcode.com/submissions/detail/1325095911/
[2974]: https://leetcode.com/problems/minimum-number-game/
[2974cpp]: https://leetcode.com/submissions/detail/1292522444/
[2997]: https://leetcode.com/problems/minimum-number-of-operations-to-make-array-xor-equal-to-k/
[2997cpp]: https://leetcode.com/submissions/detail/1290174386/
[3065]: https://leetcode.com/problems/minimum-operations-to-exceed-threshold-value-i/
[3065cpp]: https://leetcode.com/submissions/detail/1292491795/
[3099]: https://leetcode.com/problems/harshad-number/
[3099cpp]: https://leetcode.com/submissions/detail/1334863110/
[3110]: https://leetcode.com/problems/score-of-a-string/
[3110cpp]: https://leetcode.com/submissions/detail/1251138857/
[3131]: https://leetcode.com/problems/find-the-integer-added-to-array-i/
[3131cpp]: https://leetcode.com/submissions/detail/1379189217/
[3146]: https://leetcode.com/problems/permutation-difference-between-two-strings/
[3146cpp]: https://leetcode.com/submissions/detail/1269235214/
[3158]: https://leetcode.com/problems/find-the-xor-of-numbers-which-appear-twice/
[3158cpp]: https://leetcode.com/submissions/detail/1381032632/
[3162]: https://leetcode.com/problems/find-the-number-of-good-pairs-i/
[3162cpp]: https://leetcode.com/submissions/detail/1290184663/
[3190]: https://leetcode.com/problems/find-minimum-operations-to-make-all-elements-divisible-by-three/
[3190cpp]: https://leetcode.com/submissions/detail/1302993089/
[3194]: https://leetcode.com/problems/minimum-average-of-smallest-and-largest-elements/
[3194cpp]: https://leetcode.com/submissions/detail/1316339565/
[3211]: https://leetcode.com/problems/generate-binary-strings-without-adjacent-zeros/
[3211cpp]: https://leetcode.com/submissions/detail/1313864130/
[3232]: https://leetcode.com/problems/find-if-digit-game-can-be-won/
[3232cpp]: https://leetcode.com/submissions/detail/1340720910/
[3242]: https://leetcode.com/problems/design-neighbor-sum-service/
[3242cpp]: https://leetcode.com/submissions/detail/1344657704/
[3248]: https://leetcode.com/problems/snake-in-matrix/
[3248cpp]: https://leetcode.com/submissions/detail/1383400632/
[3280]: https://leetcode.com/problems/convert-date-to-binary/
[3280cpp]: https://leetcode.com/submissions/detail/1383934536/