Giter Club home page Giter Club logo

leetcode's Introduction

LeetCode


My answers to LeetCode OJ Problems:

Problem List:

# Title Solution Difficulty
620 Valid Palindrome II Python Easy
575 Distribute Candies Java Easy
566 Reshape the Matrix Java Easy
561 Array Partition I Java Easy
543 Diameter of Binary Tree Java Easy
537 Complex Number Multiplication Java Medium
530 Minimum Absolute Difference in BST Java Easy
518 Coin Change 2 Python Medium
503 Next Greater Element II C++ Medium
501 Find Mode in Binary Search Tree Java Easy
500 Keyboard Row C++ Easy
496 Next Greater Element I C++ Easy
476 Number Complement C++ Easy
463 Island Perimeter C++ Easy
461 Hamming Distance C++, Java, Python Easy
459 Repeated Substring Pattern Java Easy
455 Assign Cookies C++ Easy
453 Minimum Moves to Equal Array Elements C++ Easy
448 Find All Numbers Disappeared in an Array C++ Easy
447 Number of Boomerangs C++ Easy
442 Find All Duplicates in an Array Java Medium
437 Path Sum III Java Easy
419 Battleships in a Board C++ Medium
416 Partition Equal Subset Sum Python Medium
415 Add Strings C++ Easy
412 Fizz Buzz C++, Java, Python Easy
409 Longest Palindrome C++ Easy
405 Convert a Number to Hexadecimal C++, Python Easy
404 Sum of Left Leaves C++ Easy
401 Binary Watch C++ Easy
389 Find the Difference C++ Easy
387 First Unique Character in a String C++, Python Easy
384 Shuffle an Array Python Medium
383 Ransom Note C++ Easy
371 Sum of Two Integers C++, Python Easy
350 Intersection of Two Arrays II C++, Python Easy
349 Intersection of Two Arrays C++, Python Easy
347 Top K Frequent Elements Python Medium
344 Reverse String C++, Python Easy
342 Power of Four Java Easy
338 Counting Bits Java Easy
334 Increasing Triplet Subsequence Python Medium
328 Odd Even Linked List Python Medium
326 Power of Three Java, Python Easy
322 Coin Change Python Medium
309 Best Time to Buy and Sell Stock with Cooldown C++ Medium
300 Longest Increasing Subsequence Python Medium
292 Nim Game C++ Easy
289 Game of Life Python Medium
287 Find the Duplicate Number Python Medium
283 Move Zeroes C++, Python Easy
279 Perfect Squares Java Medium
278 First Bad Version Python Easy
271 Contains Duplicate Python Easy
268 Missing Number C++, Python Easy
264 Ugly Number II Java Medium
263 Ugly Number Java Easy
258 Add Digits C++ Easy
257 Binary Tree Paths Java Easy
242 Valid Anagram C++ Easy
239 Sliding Window Maximum Python Medium
237 Delete Node in a Linked List C++, Python Easy
235 Lowest Common Ancestor of a Binary Search Tree Java Easy
234 Palindrome Linked List Python Easy
231 Power of Two Java Easy
230 Kth Smallest Element in a BST Java, Python Medium
229 Majority Element II Python Medium
227 Basic Calculator II Python Medium
226 Invert Binary Tree C++ Easy
224 Basic Calculator Python Hard
217 Contains Duplicate C++ Easy
215 Kth Largest Element in an Array C++, Python Medium
209 Minimum Size Subarray Sum Java Medium
206 Reverse Linked List C++, Python Easy
204 Count Primes Java, Python Easy
203 Remove Linked List Elements Python Easy
202 Happy Number C++, Python Easy
200 Number of Islands Python Medium
198 House Robber Python Easy
191 Number of 1 Bits C++ Easy
189 Rotate Array Python Easy
188 Best Time to Buy and Sell Stock IV Python Hard
174 Dungeon Game Java Hard
172 Factorial Trailing Zeroes Python Medium
171 Excel Sheet Column Number C++, Python Easy
169 Majority Element C++, Python Easy
168 Excel Sheet Column Title C++ Easy
167 Two Sum II - Input array is sorted Java Easy
162 Find Peak Element Python Medium
160 Intersection of Two Linked Lists Python Easy
155 Min Stack Python Easy
152 Maximum Product Subarray Java, Python Medium
148 Sort List Python Medium
146 LRU Cache Python Medium
145 Binary Tree Postorder Traversal Java, Python Hard
144 Binary Tree Preorder Traversal Java, Python Medium
142 Linked List Cycle II Java, Python Medium
141 Linked List Cycle Java, Python Easy
137 Single Number II Python Medium
136 Single Number C++, Python Easy
128 Valid Palindrome Python Easy
125 Valid Palindrome Python Easy
122 Best Time to Buy and Sell Stock II C++, Python Easy
121 Best Time to Buy and Sell Stock C++, Java, Python Easy
119 Pascal's Triangle II Python Easy
118 Pascal's Triangle Python Easy
113 Path Sum II Java Medium
112 Path Sum Java Easy
111 Minimum Depth of Binary Tree Java Easy
110 Balanced Binary Tree Java Easy
108 Convert Sorted Array to Binary Search Tree C++ Easy
107 Binary Tree Level Order Traversal II Java Easy
106 Construct Binary Tree from Postorder and Inorder Traversal Python Medium
105 Construct Binary Tree from Preorder and Inorder Traversal Python Medium
104 Maximum Depth of Binary Tree C++, Python Easy
103 Binary Tree Zigzag Level Order Traversal Python Medium
102 Binary Tree Level Order Traversal Java, Python Medium
101 Symmetric Tree Python Easy
100 Same Tree C++ Easy
98 Validate Binary Search Tree Python Medium
96 Unique Binary Search Trees Java, Python Medium
94 Binary Tree Inorder Traversal Java, Python Medium
92 Reverse Linked List II Python Medium
88 Merge Sorted Array Python Easy
86 Partition List Python Medium
83 Remove Duplicates from Sorted List Java, Python Easy
79 Word Search Python Medium
78 Subsets Python Medium
75 Sort Colors Python Medium
73 Set Matrix Zeroes Python Medium
70 Climbing Stairs Java, Python Easy
69 Sqrt(x) Java Easy
66 Plus One Python Easy
64 Minimum Path Sum Java Medium
62 Unique Paths Python Medium
55 Jump Game Python Medium
53 Maximum Subarray Java, Python Easy
49 Group Anagrams Python Medium
48 Rotate Image Python Medium
47 Permutations II Python Medium
46 Permutations Python Medium
41 First Missing Positive Python Medium
36 Valid Sudoku Python Medium
35 Search Insert Position Java, Python Easy
34 Search for a Range Java, Python Medium
33 Search in Rotated Sorted Array Python Medium
31 Next Permutation Python Medium
28 Implement strStr() Python Easy
27 Remove Element Python Easy
26 Remove Duplicates from Sorted Array Python Easy
24 Swap Nodes in Pairs Python Medium
23 Merge k Sorted Lists Python Hard
22 Generate Parentheses Python Medium
21 Merge Two Sorted Lists Java, Python Easy
20 Valid Parentheses Python Easy
19 Remove Nth Node From End of List Python Medium
18 4Sum Python Medium
17 Letter Combinations of a Phone Number Python Medium
16 3Sum Closest Python Medium
15 3Sum Python Medium
14 Longest Common Prefix Python Easy
13 Roman to Integer C++ Easy
11 Container With Most Water Python Medium
9 Palindrome Number Python Easy
5 Longest Palindromic Substring Python Medium
4 Median of Two Sorted Arrays Python Hard
3 Longest Substring Without Repeating Characters Python Medium
2 Add Two Numbers Python Medium
1 Two Sum Python Easy

leetcode's People

Contributors

pnyuan avatar

Watchers

 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.