Skip to content

holtenko/Leetcoding

Repository files navigation

Leetcode

MIT Licence

Solutions to Leetcode with C++/Java

LeetCode Algorithm

# Title Solution Difficulty
1185 Day of the Week.md Solution Easy
1108 Defanging an IP Address Java Easy
771 Jewels and Stones Java Easy
728 Self Dividing Numbers Java Easy
709 To Lower Case Java Easy
657 Judge Route Circle Java Easy
617 Merge Two Binary Trees Java Easy
389 Find the Difference Java Easy
350 Intersection of Two Arrays II Java Easy
349 Intersection of Two Arrays Java Easy
344 Reverse String Java Easy
338 Counting Bits Java Medium
328 Odd Even Linked List Java Easy
326 Power of Three Java Easy
292 Nim Game Java Easy
283 Move Zeroes Java Easy
260 Single Number III Java Medium
258 Add Digits Java Easy
242 Valid Anagram Java Easy
238 Product of Array Except Self Java Medium
237 Delete Node in a Linked List Java Easy
231 Power of Two Java Easy
226 Invert Binary Tree Java Easy
225 Implement Stack using Queues Java Medium
217 Contains Duplicate Java Easy
191 Number of 1 Bits Java Easy
171 Excel Sheet Column Number Java Easy
169 Majority Element Java Easy
168 Excel Sheet Column Title Java Easy
141 Linked List Cycle Java Easy
136 Single Number Java Medium
125 Valid Palindrome Java Easy
104 Maximum Depth of Binary Tree Java Easy
103 Binary Tree Zigzag Level Order Traversal Java Medium
102 Binary Tree Level Order Traversal Java Easy
101 Symmetric Tree Easy
100 Same Tree Java Easy
83 Remove Duplicates from Sorted List Java Easy
70 Climbing Stairs Java Easy
66 Plus One Java Easy
65 Valid Number Easy
64 Minimum Path Sum Medium
63 Unique Paths II Medium
62 Unique Paths Java Medium
61 Rotate List Medium
60 Permutation Sequence Medium
59 Spiral Matrix II Medium
58 Length of Last Word Java Easy
57 Insert Interval Hard
56 Merge Intervals Hard
55 Jump Game Medium
54 Spiral Matrix Medium
53 Maximum Subarray Java Easy
52 N-Queens II Hard
51 N-Queens Hard
50 "Pow(x, n)" Medium
49 Group Anagrams Medium
48 Rotate Image Medium
47 Permutations II Hard
46 Permutations Medium
45 Jump Game II Hard
44 Wildcard Matching Hard
43 Multiply Strings Medium
42 Trapping Rain Water Hard
41 First Missing Positive Hard
40 Combination Sum II Medium
39 Combination Sum Java Medium
38 Count and Say Java Easy
37 Sudoku Solver Hard
36 Valid Sudoku Java Easy
35 Search Insert Position Java Easy
34 Search for a Range Medium
33 Search in Rotated Sorted Array Hard
32 Longest Valid Parentheses Hard
31 Next Permutation Medium
30 Substring with Concatenation of All Words Hard
29 Divide Two Integers Java Medium
28 Implement strStr() Java Easy
27 Remove Element Java Easy
26 Remove Duplicates from Sorted Array Java Easy
25 Reverse Nodes in k-Group Hard
24 Swap Nodes in Pairs Java Medium
23 Merge k Sorted Lists Hard
22 Generate Parentheses Medium
21 Merge Two Sorted Lists Java Easy
20 Valid Parentheses Java Easy
19 Remove Nth Node From End of List Java Easy
18 4Sum Medium
17 Letter Combinations of a Phone Number Java Medium
16 3Sum Closest Medium
15 3Sum Java Medium
14 Longest Common Prefix Java Easy
13 Roman to Integer Java Easy
12 Integer to Roman Medium
11 Container With Most Water Medium
10 Regular Expression Matching Hard
9 Palindrome Number Java Easy
8 String to Integer (atoi) Java Easy
7 Reverse Integer Java Easy
6 ZigZag Conversion Java Easy
5 Longest Palindromic Substring Java Medium
4 Median of Two Sorted Arrays Hard
3 Longest Substring Without Repeating Characters Java Medium
2 Add Two Numbers Medium
1 Two Sum Solution Easy

LeetCode Database

# Title Solution Difficulty
595 Big Countries MySQL Easy
197 Rising Temperature MySQL Easy
196 Delete Duplicate Emails MySQL Easy
182 Duplicate Emails MySQL Easy
181 Employees Earning More Than Their Managers MySQL Easy

LeetCode Shell

# Title Solution Difficulty
195 Tenth Line Shell Easy

Contributors

Contribute your solutions, and your name will be here.

Licence

MIT License

Copyright (c) 2016 - 2021 holten

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.