Python solution of problems from LeetCode.
# | Title | Solution | Difficulty |
---|---|---|---|
1023 | Binary String With Substrings Representing 1 To N | Python | Medium |
1022 | Smallest Integer Divisible by K | Python | Medium |
1021 | Best Sightseeing Pair | Python | Medium |
1020 | Partition Array Into Three Parts With Equal Sum | Python | Easy |
1014 | Capacity To Ship Packages Within D Days | Python | Medium |
1013 | Pairs of Songs With Total Durations Divisible by 60 | Python | Easy |
1012 | Complement of Base 10 Integer | Python | Easy |
1004 | Max Consecutive Ones III | Python | Medium |
1003 | Check If Word Is Valid After Substitutions | Python | Medium |
1002 | Find Common Characters | Python | Easy |
# | Title | Solution | Difficulty |
---|---|---|---|
999 | Available Captures for Rook | Python | Medium |
998 | Maximum Binary Tree II | Python | Easy |
997 | Find the Town Judge | Python | Easy |
995 | Minimum Number of K Consecutive Bit Flips | Python | Hard |
994 | Rotting Oranges | Python | Easy |
993 | Cousins in Binary Tree | Python | Easy |
991 | Broken Calculator | Python | Medium |
990 | Satisfiability of Equality Equations | Python | Medium |
989 | Add to Array-Form of Integer | Python | Easy |
988 | Smallest String Starting From Leaf | Python | Medium |
985 | Sum of Even Numbers After Queries | Python | Easy |
984 | String Without AAA or BBB | Python | Easy |
983 | Minimum Cost For Tickets | Python | Medium |
981 | Time Based Key-Value Store | Python | Medium |
977 | Squares of a Sorted Array | Python | Easy |
# | Title | Solution | Difficulty |
---|---|---|---|
410 | Split Array Largest Sum | Python | Hard |
454 | 4Sum II | Python | Medium |
# | Title | Solution | Difficulty |
---|---|---|---|
387 | First Unique Character in a String | Python | Easy |
380 | Insert Delete GetRandom O(1) | Python | Hard |
378 | Kth Smallest Element in a Sorted Matrix | Python | Medium |
350 | Intersection of Two Arrays II | Python | Easy |
347 | Top K Frequent Elements | Python | Medium |
334 | Increasing Triplet Subsequence | Python | Medium |
332 | Reconstruct Itinerary | Python | Medium |
329 | Longest Increasing Path in a Matrix | Python | Medium |
328 | Odd Even Linked List | Python | Easy |
326 | Power of Three | Python | Easy |
322 | Coin Change | Python | Medium |
315 | Count of Smaller Numbers After Self | Python | Hard |
301 | Remove Invalid Parentheses | Python | Hard |