Git Product home page Git Product logo

leetcode's Introduction

Python solution for Leetcode

Python solution of problems from LeetCode.

LeetCode Algorithm

# 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
# 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
257 Binary Tree PathsPython 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
235 Lowest Common Ancestor of a Binary Search Tree Python Easy
234 Palindrome Linked List Python Easy
230 Kth Smallest Element in a BST Python Medium
226 Invert Binary Tree Python Easy
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
# Title Solution Difficulty
199 Binary Tree Right Side View Python Medium
191 Number of 1 Bits Python Easy
179 Largest Number Python Medium
173 Binary Search Tree Iterator Python Medium
162 Find Peak Element Python Medium
160 Intersection of Two Linked Lists Python Easy
155 Min Stack Python Easy
152 Maximum Product Subarray Python Medium
150 Evaluate Reverse Polish Notation Python Medium
148 Sort List Python Medium
147 Insertion Sort List Python Medium
146 LRU Cache Python Hard
145 Binary Tree Postorder Traversal Python Hard
144 Binary Tree Preorder Traversal Python Medium
143 Reorder List Python Medium
142 Linked List Cycle II Python Medium
141 Linked List Cycle Python Medium
139 Word Break Python Medium
134 Gas Station Python Medium
132 Palindrome Partitioning II Python Hard
131 Palindrome Partitioning Python Medium
130 Surrounded Regions Python Medium
129 Sum Root to Leaf Numbers Python Medium
128 Longest Consecutive Sequence Python Hard
127 Word Ladder Python Medium
125 Valid Palindrome Python Easy
123 Best Time to Buy and Sell Stock III Python Hard
120 Triangle Python Medium
119 Pascal's Triangle II Python Easy
118 Pascal's Triangle Python Easy
117 Populating Next Right Pointers in Each Node II Python Hard
116 Populating Next Right Pointers in Each Node Python Medium
115 Distinct Subsequences Python Hard
113 Path Sum II Python Medium
112 Path Sum Python Easy
111 Minimum Depth of Binary Tree Python Easy
108 Convert Sorted Array to Binary Search Tree Python Easy
107 Binary Tree Level Order Traversal II Python Easy
106 Construct Binary Tree from Inorder and Postorder Traversal Python Medium
105 Construct Binary Tree from Preorder and Inorder Traversal Python Medium
103 Binary Tree Zigzag Level Order Traversal Python Medium
102 Binary Tree Level Order Traversal Python Easy
101 Symmetric Tree Python Easy
100 Same Tree Python Easy
# Title Solution Difficulty
99 Recover Binary Search Tree Python Hard
98 Validate Binary Search Tree Python Medium
97 Interleaving String Python Hard
95 Unique Binary Search Trees II Python Medium
94 Binary Tree Inorder Traversal Python Medium
93 Restore IP Addresses Python Medium
92 Reverse Linked List II Python Medium
91 Decode Ways Python Medium
90 Subsets II Python Medium
87 Scramble String Python Hard
86 Partition List Python Medium
85 Maximal Rectangle Python Hard
83 Remove Duplicates from Sorted List Python Easy
82 Remove Duplicates from Sorted List II Python Medium
81 Search in Rotated Sorted Array II Python Medium
80 Remove Duplicates from Sorted Array II Python Medium
79 Word Search Python Medium
78 Subsets Python Medium
75 Sort Colors Python Medium
74 Search a 2D Matrix Python Medium
73 Set Matrix Zeroes Python Medium
72 Edit Distance Python Hard
71 Simplify Path Python Medium
70 Climbing Stairs Python Easy
67 Add Binary Python Easy
66 Plus One Python Easy
65 Valid Number Python Easy
64 Minimum Path Sum Python Medium
63 Unique Paths II Python Medium
62 Unique Paths Python Medium
61 Rotate List Python Medium
60 Permutation Sequence Python Medium
57 Insert Interval Python Hard
56 Merge Intervals Python Hard
54 Spiral Matrix Python Medium
53 Maximum Subarray Python Medium
48 Rotate Image Python Medium
46 Permutations Python Medium
45 Jump Game II Python Hard
44 Wildcard Matching Python Hard
42 Trapping Rain Water Python Hard
41 First Missing Positive Python Hard
40 Combination Sum II Python Medium
39 Combination Sum Python Medium
38 Count and Say Python Easy
34 Search for a Range Python Medium
33 Search in Rotated Sorted Array Python Hard
32 Longest Valid Parentheses Python Hard
31 Next Permutation Python Medium
30 Substring with Concatenation of All Words Python Hard
26 Remove Duplicates from Sorted Array Python Easy
25 Reverse Nodes in k-Group Python Hard
24 Swap Nodes in Pairs Python Medium
23 Merge k Sorted Lists Python Hard
22 Generate Parentheses Python Medium
19 Remove Nth Node From End of List Python Easy
18 4Sum Python Medium
17 Letter Combinations of a Phone Number Python Medium
16 3Sum Closest Python Medium
15 3Sum Python Medium
11 Container With Most Water Python Medium
10 Regular Expression Matching Python Hard
6 ZigZag Conversion Python Easy
5 Longest Palindromic Substring Python Medium
4 Median of Two Sorted Arrays Python Hard
3 Longest Substring Without Repeating Characters Python Medium
1 Two Sum Python Medium

leetcode's People

Contributors

garvit244 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.