Skip to content
📝Python / C++ / Golang Solutions Of Leetcode
Python C++ Go
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis fix travis Apr 16, 2019
Golang 😼 add Golang Solution for 5 May 5, 2019
Python add Python Solution for 153 Aug 24, 2019
cpluscplus add cpp solution for 445 🚀 Aug 9, 2019
.gitignore delete DS_store Apr 16, 2019
.travis.yml fix travis Apr 16, 2019
README.md Update docs Aug 23, 2019
update_readme.py update README.md Apr 16, 2019

README.md

😃 Let's have fun with LeetCode! Build Status

I have solved these problems.

ID Title Python C++ Go
1 Two Sum Python C++ Go
2 Add Two Numbers Python C++ Go
3 Longest Substring Without Repeating Characters Python C++ Go
4 Median of Two Sorted Arrays Python C++ Go
5 Longest Palindromic Substring Python C++ Go
6 ZigZag Conversion Python C++ TODO
7 Reverse Integer Python C++ TODO
8 String to Integer (atoi) Python TODO TODO
9 Palindrome Number Python TODO TODO
10 Regular Expression Matching Python TODO TODO
11 Container With Most Water Python TODO TODO
13 Roman to Integer Python TODO TODO
14 Longest Common Prefix Python TODO TODO
15 3Sum Python TODO TODO
19 Remove Nth Node From End of List Python TODO TODO
20 Valid Parentheses Python TODO TODO
21 Merge Two Sorted Lists Python TODO TODO
22 Generate Parentheses Python TODO TODO
26 Remove Duplicates from Sorted Array Python TODO TODO
28 Implement strStr() Python TODO TODO
35 Search Insert Position Python C++ TODO
36 Valid Sudoku Python TODO TODO
38 Count and Say Python TODO TODO
39 Combination Sum Python TODO TODO
42 Trapping Rain Water Python TODO TODO
48 Rotate Image Python TODO TODO
49 Group Anagrams Python TODO TODO
51 N-Queens Python TODO TODO
53 Maximum Subarray Python TODO TODO
55 Jump Game Python TODO Go
59 Spiral Matrix II Python TODO TODO
62 Unique Paths Python TODO TODO
63 Unique Paths II Python TODO TODO
64 Minimum Path Sum Python C++ TODO
66 Plus One Python TODO TODO
69 Sqrt(x) TODO C++ TODO
70 Climbing Stairs Python TODO TODO
73 Set Matrix Zeroes Python TODO TODO
77 Combinations Python TODO TODO
80 Remove Duplicates from Sorted Array II Python TODO TODO
81 Search in Rotated Sorted Array II Python TODO TODO
84 Largest Rectangle in Histogram Python TODO TODO
85 Maximal Rectangle Python TODO TODO
88 Merge Sorted Array Python TODO TODO
92 Reverse Linked List II Python TODO TODO
98 Validate Binary Search Tree Python TODO TODO
101 Symmetric Tree Python TODO TODO
102 Binary Tree Level Order Traversal Python TODO TODO
104 Maximum Depth of Binary Tree Python TODO TODO
106 Construct Binary Tree from Inorder and Postorder Traversal Python TODO TODO
108 Convert Sorted Array to Binary Search Tree Python TODO Go
109 Convert Sorted List to Binary Search Tree Python TODO TODO
121 Best Time to Buy and Sell Stock Python TODO TODO
122 Best Time to Buy and Sell Stock II Python TODO TODO
125 Valid Palindrome Python TODO TODO
128 Longest Consecutive Sequence Python TODO TODO
131 Palindrome Partitioning Python TODO TODO
136 Single Number Python TODO TODO
141 Linked List Cycle Python TODO TODO
152 Maximum Product Subarray Python TODO TODO
153 Find Minimum in Rotated Sorted Array Python TODO TODO
155 Min Stack Python TODO TODO
160 Intersection of Two Linked Lists Python C++ TODO
167 Two Sum II - Input array is sorted TODO C++ TODO
189 Rotate Array Python TODO TODO
198 House Robber Python TODO TODO
200 Number of Islands Python TODO TODO
203 Remove Linked List Elements Python C++ TODO
204 Count Primes Python TODO TODO
206 Reverse Linked List Python TODO Go
213 House Robber II Python TODO TODO
217 Contains Duplicate Python TODO TODO
219 Contains Duplicate II Python TODO TODO
232 Implement Queue using Stacks Python TODO TODO
234 Palindrome Linked List Python TODO Go
237 Delete Node in a Linked List Python TODO TODO
239 Sliding Window Maximum Python TODO TODO
242 Valid Anagram Python TODO TODO
278 First Bad Version TODO C++ TODO
283 Move Zeroes Python TODO TODO
287 Find the Duplicate Number TODO C++ TODO
300 Longest Increasing Subsequence Python TODO TODO
303 Range Sum Query - Immutable Python TODO TODO
312 Burst Balloons Python TODO TODO
322 Coin Change Python C++ TODO
326 Power of Three Python TODO TODO
334 Increasing Triplet Subsequence Python TODO TODO
337 House Robber III Python TODO TODO
338 Counting Bits Python TODO TODO
350 Intersection of Two Arrays II Python TODO TODO
371 Sum of Two Integers Python TODO TODO
374 Guess Number Higher or Lower TODO C++ TODO
378 Kth Smallest Element in a Sorted Matrix TODO C++ TODO
387 First Unique Character in a String Python TODO TODO
406 Queue Reconstruction by Height Python TODO TODO
412 Fizz Buzz Python TODO TODO
413 Arithmetic Slices Python TODO TODO
438 Find All Anagrams in a String Python TODO TODO
441 Arranging Coins TODO C++ TODO
445 Add Two Numbers II Python C++ TODO
448 Find All Numbers Disappeared in an Array Python TODO TODO
456 132 Pattern Python TODO TODO
461 Hamming Distance Python TODO TODO
463 Island Perimeter Python TODO TODO
476 Number Complement Python TODO TODO
535 Encode and Decode TinyURL Python TODO TODO
538 Convert BST to Greater Tree Python TODO TODO
543 Diameter of Binary Tree Python TODO TODO
561 Array Partition I Python TODO TODO
572 Subtree of Another Tree Python TODO TODO
617 Merge Two Binary Trees Python TODO TODO
638 Shopping Offers Python TODO TODO
643 Maximum Average Subarray I Python TODO TODO
654 Maximum Binary Tree Python TODO TODO
655 Print Binary Tree Python TODO TODO
657 Robot Return to Origin Python TODO TODO
658 Find K Closest Elements TODO C++ TODO
669 Trim a Binary Search Tree Python TODO TODO
677 Map Sum Pairs Python TODO TODO
693 Binary Number with Alternating Bits Python TODO TODO
744 Network Delay Time Python TODO TODO
746 Prefix and Suffix Search Python TODO TODO
763 Special Binary String Python TODO TODO
771 Encode N-ary Tree to Binary Tree Python TODO TODO
807 Custom Sort String Python TODO TODO
811 Number of Subarrays with Bounded Maximum Python TODO TODO
814 Smallest Rotation with Highest Score Python TODO TODO
817 Design HashMap Python TODO TODO
821 Bricks Falling When Hit Python TODO TODO
852 Friends Of Appropriate Ages Python C++ TODO
876 Hand of Straights Python C++ TODO
877 Shortest Path Visiting All Nodes Python TODO TODO
905 Length of Longest Fibonacci Subsequence Python TODO TODO
907 Koko Eating Bananas Python TODO TODO
922 Possible Bipartition Python TODO TODO
969 Number of Recent Calls Python TODO TODO
973 Stamping The Sequence Python TODO TODO
977 Distinct Subsequences II Python TODO TODO
1071 Binary Prefix Divisible By 5 Python TODO TODO
You can’t perform that action at this time.