LeetCode Golang
# | Title | Date | Acceptance | Difficulty |
---|---|---|---|---|
14 |
Longest Common Prefix | ~ August 2020 | 35.5% | Easy |
26 |
Remove Duplicates from Sorted Array | ~ August 2020 | 45.2% | Easy |
27 |
Remove Element | ~ August 2020 | 48.3% | Easy |
28 |
Implement strStr() | ~ August 2020 | 34.5% | Easy |
58 |
Length of Last Word | ~ August 2020 | 32.6% | Easy |
88 |
Merge Sorted Array | ~ August 2020 | 39.5% | Easy |
118 |
Pascal's Triangle | ~ August 2020 | 52.7% | Easy |
121 |
Best Time to Buy and Sell Stock | ~ August 2020 | 50.5% | Easy |
125 |
Valid Palindrome | ~ August 2020 | 36.8% | Easy |
283 |
Move Zeroes | ~ August 2020 | 57.9% | Easy |
303 |
Range Sum Query - Immutable | ~ August 2020 | 44.9% | Easy |
334 |
Increasing Triplet Subsequence | ~ August 2020 | 40% | Medium |
344 |
Reverse String | ~ August 2020 | 68.6% | Easy |
412 |
Fizz Buzz | ~ August 2020 | 62.3% | Easy |
414 |
Third Maximum Number | ~ August 2020 | 30.5% | Easy |
448 |
Find All Numbers Disappeared in an Array | ~ August 2020 | 55.9% | Easy |
485 |
Max Consecutive Ones | ~ August 2020 | 54.5% | Easy |
647 |
Palindromic Substrings | ~ August 2020 | 60.7% | Medium |
657 |
Robot Return to Origin | ~ August 2020 | 73.6% | Easy |
674 |
Longest Continuous Increasing Subsequence | ~ August 2020 | 45.9% | Easy |
707 |
Design Linked List | ~ August 2020 | 24.6% | Medium |
771 |
Jewels and Stones | ~ August 2020 | 86.4% | Easy |
852 |
Peak Index in a Mountain Array | ~ August 2020 | 71.6% | Easy |
860 |
Lemonade Change | ~ August 2020 | 51.6% | Easy |
905 |
Sort Array By Parity | ~ August 2020 | 74.1% | Easy |
941 |
Valid Mountain Array | ~ August 2020 | 33.1% | Easy |
977 |
Squares of a Sorted Array | ~ August 2020 | 72.2% | Easy |
1051 |
Height Checker | ~ August 2020 | 71.3% | Easy |
1089 |
Duplicate Zeros | ~ August 2020 | 52.9% | Easy |
1281 |
Subtract the Product and Sum of Digits of an Integer | ~ August 2020 | 85.2% | Easy |
1295 |
Find Numbers with Even Number of Digits | ~ August 2020 | 81.3% | Easy |
1299 |
Replace Elements with Greatest Element on Right Side | ~ August 2020 | 75.3% | Easy |
1342 |
Number of Steps to Reduce a Number to Zero | ~ August 2020 | 86.3% | Easy |
1346 |
Check If N and Its Double Exist | ~ August 2020 | 37.7% | Easy |
268 |
Missing Number | 20 August 2020 | 51.8% | Easy |
643 |
Maximum Average Subarray I | 20 August 2020 | 41.5% | Easy |
304 |
Range Sum Query 2D - Immutable | 20 August 2020 | 38.7% | Medium |
500 |
Keyboard Row | 20 August 2020 | 64.8% | Easy |
766 |
Toeplitz Matrix | 21 August 2020 | 65.1% | Easy |
54 |
Spiral Matrix | 21 August 2020 | 34.2% | Medium |
53 |
Maximum Subarray | 22 August 2020 | 46.6% | Easy |
242 |
Valid Anagram | 23 August 2020 | 57.0% | Easy |
217 |
Contains Duplicate | 23 August 2020 | 56.1% | Easy |
215 |
Kth Largest Element in an Array | 23 August 2020 | 55.6% | Medium |
56 |
Merge Intervals | 23 August 2020 | 39.4% | Medium |
179 |
Largest Number | 24 August 2020 | 28.9% | Medium |
147 |
Insertion Sort List | 26 August 2020 | 41.2% | Medium |
912 |
Sort an Array | 27 August 2020 | 64% | Medium |
349 |
Intersection of Two Arrays | 28 August 2020 | 62.7% | Easy |
350 |
Intersection of Two Arrays II | 28 August 2020 | 51.5% | Easy |
148 |
Sort List | 31 August 2020 | 42.8% | Medium |
1 |
Two Sum | 1 September 2020 | 45.7% | Easy |
49 |
Group Anagrams | 1 September 2020 | 57.2% | Medium |
290 |
Word Pattern | 1 September 2020 | 37% | Easy |
219 |
Contains Duplicate II | 2 September 2020 | 37.8% | Easy |
347 |
Top K Frequent Elements | 3 September 2020 | 61.4% | Medium |
398 |
Random Pick Index | 4 September 2020 | 56.3% | Medium |
884 |
Uncommon Words from Two Sentences | 4 September 2020 | 63.4% | Easy |
1365 |
How Many Numbers Are Smaller Than the Current Number | 4 September 2020 | 85.7% | Easy |
1207 |
Unique Number of Occurrences | 5 September 2020 | 71.7% | Easy |
20 |
Valid Parentheses | 5 September 2020 | 39.1% | Easy |
844 |
Backspace String Compare | 6 September 2020 | 46.6% | Easy |
150 |
Evaluate Reverse Polish Notation | 6 September 2020 | 36.6% | Medium |
1047 |
Remove All Adjacent Duplicates In String | 6 September 2020 | 69.1% | Easy |
1544 |
Make The String Great | 7 September 2020 | 54.3% | Easy |
206 |
Reverse Linked List | 7 September 2020 | 63% | Easy |
21 |
Merge Two Sorted Lists | 8 September 2020 | 53.9% | Easy |
876 |
Middle of the Linked List | 12 September 2020 | 68.6% | Easy |
1290 |
Convert Binary Number in a Linked List to Integer | 12 September 2020 | 80.7% | Easy |
1019 |
Next Greater Node In Linked List | 13 September 2020 | 58.1% | Medium |
83 |
Remove Duplicates from Sorted List | 13 September 2020 | 45.7% | Easy |
82 |
Remove Duplicates from Sorted List II | 13 September 2020 | 37.2% | Medium |
55 |
Jump Game | 15 September 2020 | 34.7% | Medium |
692 |
Top K Frequent Words | 16 September 2020 | 52.2% | Medium |
151 |
Reverse Words in a String | 17 September 2020 | 22.2% | Medium |
482 |
License Key Formatting | 17 September 2020 | 43.0% | Easy |
557 |
Reverse Words in a String III | 18 September 2020 | 70.4% | Easy |
459 |
Repeated Substring Pattern | 18 September 2020 | 43.1% | Easy |
415 |
Add Strings | 19 September 2020 | 47.7% | Easy |
989 |
Add to Array-Form of Integer | 19 September 2020 | 44.4% | Easy |
2 |
Add Two Numbers | 20 September 2020 | 34.2% | Medium |
1358 |
Number of Substrings Containing All Three Characters | 21 September 2020 | 58.9% | Medium |
1004 |
Max Consecutive Ones III | 22 September 2020 | 59.6% | Medium |
1456 |
Maximum Number of Vowels in a Substring of Given Length | 22 September 2020 | 52.9% | Medium |
345 |
Reverse Vowels of a String | 23 September 2020 | 44.4% | Easy |
167 |
Two Sum II - Input array is sorted | 23 September 2020 | 54.5% | Easy |
228 |
Summary Ranges | 24 September 2020 | 39.8% | Medium |
75 |
Sort Colors | 24 September 2020 | 47.8% | Medium |
15 |
3Sum | 25 September 2020 | 27.1% | Medium |
16 |
3Sum Closest | 25 September 2020 | 46.1% | Medium |
18 |
4Sum | 26 September 2020 | 33.9% | Medium |
3 |
Longest Substring Without Repeating Characters | 26 September 2020 | 30.6% | Medium |
1137 |
N-th Tribonacci Number | 28 September 2020 | 55.7% | Easy |
779 |
K-th Symbol in Grammar | 29 September 2020 | 37.6% | Medium |
24 |
Swap Nodes in Pairs | 6 October 2020 | 51.1% | Medium |
700 |
Search in a Binary Search Tree | 7 October 2020 | 73.3% | Easy |
119 |
Pascal's Triangle II | 7 October 2020 | 51.1% | Easy |
509 |
Fibonacci Number | 8 October 2020 | 67.2% | Easy |
70 |
Climbing Stairs | 8 October 2020 | 48.1% | Easy |
50 |
Pow(x, n) | 10 October 2020 | 30.5% | Medium |
98 |
Validate Binary Search Tree | 11 October 2020 | 28% | Medium |
74 |
Search a 2D Matrix | 11 October 2020 | 36.7% | Medium |
240 |
Search a 2D Matrix II | 12 October 2020 | 43.4% | Medium |
51 |
N-Queens | 12 October 2020 | 47.7% | Hard |
52 |
N-Queens II | 13 October 2020 | 58.7% | Hard |
77 |
Combinations | 14 October 2020 | 55.7% | Medium |
100 |
Same Tree | 14 October 2020 | 53.7% | Easy |
22 |
Generate Parentheses | 15 October 2020 | 63.8% | Medium |
102 |
Binary Tree Level Order Traversal | 15 October 2020 | 55.4% | Medium |
46 |
Permutations | 15 October 2020 | 64.7% | Medium |
504 |
Base 7 | 16 October 2020 | 46.3% | Easy |
204 |
Count Primes | 16 October 2020 | 31.8% | Easy |
704 |
Binary Search | 18 October 2020 | 53.7% | Easy |
33 |
Search in Rotated Sorted Array | 18 October 2020 | 35.1% | Medium |
278 |
First Bad Version | 19 October 2020 | 36.5% | Easy |
153 |
Find Minimum in Rotated Sorted Array | 19 October 2020 | 45.4% | Medium |
34 |
Find First and Last Position of Element in Sorted Array | 20 October 2020 | 36.6% | Medium |
658 |
Find K Closest Elements | 20 October 2020 | 41.3% | Medium |
367 |
Valid Perfect Square | 21 October 2020 | 41.9% | Easy |
141 |
Linked List Cycle | 21 October 2020 | 41.7% | Easy |
287 |
Find the Duplicate Number | 21 October 2020 | 41.3% | Medium |
81 |
Search in Rotated Sorted Array II | 21 October 2020 | 33.0% | Medium |
461 |
Hamming Distance | 25 October 2020 | 73.0% | Easy |
136 |
Single Number | 25 October 2020 | 66.0% | Easy |
338 |
Counting Bits | 26 October 2020 | 69.9% | Medium |
201 |
Bitwise AND of Numbers Range | 26 October 2020 | 35.5% | Medium |
784 |
Letter Case Permutation | 26 October 2020 | 65.5% | Medium |
477 |
Total Hamming Distance | 27 October 2020 | 50.5% | Medium |
137 |
Single Number II | 27 October 2020 | 53.0% | Medium |
547 |
Friend Circles | 30 October 2020 | 59.3% | Medium |
841 |
Keys and Rooms | 30 October 2020 | 64.8% | Medium |
200 |
Number of Islands | 31 October 2020 | 47.7% | Medium |
207 |
Course Schedule | 31 October 2020 | 43.7% | Medium |
733 |
Flood Fill | 1 November 2020 | 55.6% | Easy |
210 |
Course Schedule II | 3 November 2020 | 41.6% | Medium |
130 |
Surrounded Regions | 4 November 2020 | 28.7% | Medium |
695 |
Max Area of Island | 4 November 2020 | 63.6% | Medium |
542 |
01 Matrix | 5 November 2020 | 40.3% | Medium |
144 |
Binary Tree Preorder Traversal | 6 November 2020 | 56.6% | Medium |
94 |
Binary Tree Inorder Traversal | 7 November 2020 | 64.6% | Medium |
145 |
Binary Tree Postorder Traversal | 7 November 2020 | 56.3% | Medium |
104 |
Maximum Depth of Binary Tree | 9 November 2020 | 66.8% | Easy |
112 |
Path Sum | 9 November 2020 | 41.8% | Easy |
226 |
Invert Binary Tree | 10 November 2020 | 66.0% | Easy |
226 |
Invert Binary Tree | 10 November 2020 | 66.0% | Easy |
113 |
Path Sum II | 11 November 2020 | 47.9% | Medium |
129 |
Sum Root to Leaf Numbers | 12 November 2020 | 50% | Medium |
199 |
Binary Tree Right Side View | 12 November 2020 | 55.2% | Medium |
114 |
Flatten Binary Tree to Linked List | 12 November 2020 | 50.7% | Medium |
103 |
Binary Tree Zigzag Level Order Traversal | 13 November 2020 | 49.2% | Medium |
222 |
Count Complete Tree Nodes | 15 November 2020 | 48.1% | Medium |
105 |
Construct Binary Tree from Preorder and Inorder Traversal | 15 November 2020 | 50.4% | Medium |
106 |
Construct Binary Tree from Inorder and Postorder Traversal | 16 November 2020 | 48.5% | Medium |
116 |
Populating Next Right Pointers in Each Node | 16 November 2020 | 47.6% | Medium |
589 |
N-ary Tree Preorder Traversal | 17 November 2020 | 72.8% | Easy |
590 |
N-ary Tree Postorder Traversal | 17 November 2020 | 72.8% | Easy |
429 |
N-ary Tree Level Order Traversal | 17 November 2020 | 65.9% | Medium |
559 |
Maximum Depth of N-ary Tree | 17 November 2020 | 69.1% | Easy |
230 |
Kth Smallest Element in a BST | 19 November 2020 | 61.6% | Medium |
173 |
Binary Search Tree Iterator | 19 November 2020 | 58.1% | Medium |
701 |
Insert into a Binary Search Tree | 19 November 2020 | 70.6% | Medium |
450 |
Delete Node in a BST | 21 November 2020 | 44.9% | Medium |
703 |
Kth Largest Element in a Stream | 22 November 2020 | 50.3% | Easy |
235 |
Lowest Common Ancestor of a Binary Search Tree | 22 November 2020 | 50.9% | Easy |
236 |
Lowest Common Ancestor of a Binary Tree | 22 November 2020 | 47.4% | Medium |
746 |
Min Cost Climbing Stairs | 27 November 2020 | 50.7% | Easy |
322 |
Coin Change | 29 November 2020 | 36.6% | Medium |
518 |
Coin Change 2 | 29 November 2020 | 51.2% | Medium |
416 |
Partition Equal Subset Sum | 29 November 2020 | 54.6% | Medium |
62 |
Unique Paths | 30 November 2020 | 55.3% | Medium |
64 |
Minimum Path Sum | 30 November 2020 | 55.6% | Medium |
300 |
Longest Increasing Subsequence | 3 December 2020 | 43.2% | Medium |
198 |
House Robber | 6 December 2020 | 42.6% | Easy |
5 |
Longest Palindromic Substring | 7 December 2020 | 30.0% | Medium |
1143 |
Longest Common Subsequence | 10 December 2020 | 58.5% | Medium |
516 |
Longest Palindromic Subsequence | 10 December 2020 | 54.6% | Medium |
213 |
House Robber II | 11 December 2020 | 37.3% | Medium |
122 |
Best Time to Buy and Sell Stock II | 14 December 2020 | 58.0% | Easy |
605 |
Can Place Flowers | 16 December 2020 | 32.0% | Easy |
45 |
Jump Game II | 16 December 2020 | 31.2% | Hard |
134 |
Gas Station | 17 December 2020 | 40.7% | Medium |
763 |
Partition Labels | 17 December 2020 | 77.8% | Medium |
208 |
Implement Trie (Prefix Tree) | 20 December 2020 | 51.2% | Medium |
677 |
Map Sum Pairs | 21 December 2020 | 53.8% | Medium |
211 |
Design Add and Search Words Data Structure | 21 December 2020 | 39.5% | Medium |
79 |
Word Search | 22 December 2020 | 36.4% | Medium |
648 |
Replace Words | 23 December 2020 | 58.0% | Medium |
17 |
Letter Combinations of a Phone Number | 24 December 2020 | 48.3% | Medium |
19 |
Remove Nth Node From End of List | 27 December 2020 | 35.5% | Medium |
39 |
Combination Sum | 27 December 2020 | 58.5% | Medium |
40 |
Combination Sum II | 31 December 2020 | 49.7% | Medium |
387 |
First Unique Character in a String | 5 January 2021 | 53.7% | Easy |
378 |
Kth Smallest Element in a Sorted Matrix | 5 January 2021 | 55.8% | Medium |
238 |
Odd Even Linked List | 5 January 2021 | 56.8% | Medium |
171 |
Excel Sheet Column Number | 6 January 2021 | 56.7% | Easy |
152 |
Maximum Product Subarray | 6 January 2021 | 32.6% | Medium |
739 |
Daily Temperatures | 7 January 2021 | 64.3% | Medium |
494 |
Target Sum | 7 January 2021 | 45.9% | Medium |
581 |
Shortest Unsorted Continuous Subarray | 7 January 2021 | 31.6% | Medium |
11 |
Container With Most Water | 8 January 2021 | 52.1% | Medium |
73 |
Set Matrix Zeroes | 9 January 2021 | 44.0% | Medium |
238 |
Product of Array Except Self | 9 January 2021 | 61.2% | Medium |
329 |
Longest Increasing Path in a Matrix | 10 January 2021 | 44.3% | Hard |
189 |
Rotate Array | 11 January 2021 | 36.4% | Medium |
61 |
Rotate List | 11 January 2021 | 31.5% | Medium |
437 |
Path Sum III | 12 January 2021 | 47.9% | Medium |
392 |
Is Subsequence | 19 January 2021 | 49.5% | Easy |