My C++ solutions of LeetCode Problems
Branch: master
Clone or download
Latest commit 21df254 Feb 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code feat(solution): add 25 Feb 18, 2019
.gitignore feat(solution): add 18 Oct 29, 2018
README.md feat(solution): add 25 Feb 18, 2019

README.md

my-leetcode-solutions

My LeetCode solutions in C++.

Let's fuck it up.

The order of my solutions is referenced to soulmachine/leetcode.

# Title Difficulty Time Result
26 Remove Duplicates from Sorted Array Easy - √ 100
80 Remove Duplicates from Sorted Array II Medium - √ 100
33 Search in Rotated Sorted Array Medium - √ 100
81 Search in Rotated Sorted Array II Medium - X
4 Median of Two Sorted Arrays Hard - X
128 Longest Consecutive Sequence   Hard - X
1 TwoSum Easy - √ 100
15 3Sum Medium - √ 21.09
16 3Sum Closest Medium - √ 100
18 4Sum Medium - √ ?
27 Remove Element Easy - √ 100
31 Next Permutation Medium - ?
60 Permutation Sequence Medium - √ 100
42 Trapping Rain Water Hard 2019.01.16-17 √ 0.97
48 Rotate Image Medium 2019.01.18-19 √ 15.91
66 Plus One Easy 2019.01.20-21 √ 93.51
70 Climbing Stairs Easy 2019.01.22-23 √ 100
73 Set Matrix Zeroes Medium 2019.01.24-25 √ 99.97
134 Gas Station Medium 2019.01.26-27 √ 32.93
135 Candy Hard 2019.01.28-29 √ 3.71
136 Single Number Easy 2019.01.30-31 √ 39.39
137 Single Number II Medium 2019.02.01-02 √ 83.72
2 Add Two Numbers Medium 2019.02.03-04 √ 91.30
92 Reverse Linked List II Medium 2019.02.05-06 √ 100
86 Partition List Medium 2019.02.07-08 √ 29.14
83 Remove Duplicates from Sorted List Easy 2019.02.09-10 √ 16.61
82 Remove Duplicates from Sorted List II Medium 2019.02.11-12 √ 12.08
61 Rotate List Medium 2019.02.13-14 √ 96.46
19 Remove Nth Node From End of List Medium 2019.02.15 √ 100
24 Swap Nodes in Pairs Medium 2019.02.16 √ 100
25 Reverse Nodes in k-Group Hard 2019.02.17-18 √ 100
138 Copy List with Random Pointer Medium 2019.02.19
141 Linked List Cycle Easy 2019.02.20
142 Linked List Cycle II Medium 2019.02.21
143 Reorder List Medium 2019.02.22
146 LRU Cache Hard 2019.02.23-24
125 Valid Palindrome Easy 2019.02.25
28 Implement strStr() Easy 2019.02.26
8 String to Integer (atoi) Medium 2019.02.27
67 Add Binary Easy 2019.02.28
5 Longest Palindromic Substring Medium 2019.03.01