Python solution of problems from LeetCode.
# | 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 |
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 |
# | Title | Solution | Difficulty |
---|---|---|---|
300 | Longest Increasing Subsequence | Python | Medium |
297 | Serialize and Deserialize Binary Tree | Python | Hard |
295 | Find Median from Data Stream | Python | Hard |
289 | Game of Life | Python | Medium |
287 | Find the Duplicate Number | Python | Hard |
285 | Inorder Successor in BST | Python | Medium |
283 | Move Zeros | Python | Easy |
279 | Perfect Squares | Python | Medium |
268 | Missing Number | Python | Easy |
253 | Meeting Rooms II | Python | Medium |
240 | Search a 2D Matrix II | Python | Medium |
239 | Sliding Window Maximum | Python | Hard |
238 | Product of Array Except Self | Python | Medium |
236 | Lowest Common Ancestor of a Binary Tree | Python | Medium |
234 | Palindrome Linked List | Python | Easy |
230 | Kth Smallest Element in a BST | Python | Medium |
215 | Kth Largest Element in an Array | Python | Medium |
210 | Course Schedule II | Python | Medium |
208 | Implement Trie (Prefix Tree) | Python | Medium |
207 | Course Schedule | Python | Medium |
206 | Reverse Linked List | Python | Easy |
203 | Remove Linked List Elements | Python | Easy |
200 | Number of Islands | Python | Medium |