In this repository provided my Python solutions of March LeetCoding Challenge problems.
In this repository provided my Python solutions of March LeetCoding Challenge problems.
- I highly recommend you to try and solve problems yourself before look at the solutions here.
- Solutions and approaches may be not optimal.
- All Solutions here are in Python 3.
None
№ | Title | Solution | Difficulty |
---|---|---|---|
575. | Distribute Candies | Python | Easy |
645. | Set Mismatch | Python | Easy |
268. | Missing Number | Python | Easy |
160. | Intersection of Two Linked Lists | Python | Easy |
637. | Average of Levels in Binary Tree | Python | Easy |
820. | Short Encoding of Words | Python | Medium |
706. | Design HashMap | Python | Easy |
№ | Title | Solution | Difficulty |
---|---|---|---|
1332. | Remove Palindromic Subsequences | Python | Easy |
623. | Add One Row to Tree | Python | Medium |
12. | Integer to Roman | Python | Medium |
322. | Coin Change | Medium | |
1461. | Check If a String Contains All Binary Codes of Size K | Python | Medium |
823. | Binary Trees With Factors | Medium | |
1721. | Swapping Nodes in a Linked List | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
535. | Encode and Decode TinyURL | Python | Medium |
714. | Best Time to Buy and Sell Stock with Transaction Fee | Medium | |
478. | Generate Random Point in a Circle | Python | Medium |
376. | Wiggle Subsequence | Python | Medium |
841. | Keys and Rooms | Python | Medium |
1396. | Design Underground System | Python | Medium |
869. | Reordered Power of 2 | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
966. | Vowel Spellchecker | Python | Medium |
923. | 3Sum With Multiplicity | Python | Medium |
870. | Advantage Shuffle | Medium | |
417. | Pacific Atlantic Water Flow | Medium | |
916. | Word Subsets | Python | Medium |
647. | Palindromic Substrings | Python | Medium |
423. | Reconstruct Original Digits from English | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
971. | Flip Binary Tree To Match Preorder Traversal | Medium | |
354. | Russian Doll Envelopes | Hard | |
936. | Stamping The Sequence | Hard |
The code is open-source and licensed under the MIT License.