Skip to content

DmitriiValov/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The LeetCode (Java)

Result

Easy Medium Hard Overall
#c5f015 42 #1589F0 47 #f03c15 4 93
Number Title Solution Difficulty Tag
1 Two Sum 1 #c5f015 Array
2 Add Two Numbers 2 #1589F0 CTCI, LinkedList
3 Longest Substring Without Repeating Characters 3 #1589F0 String
5 Longest Palindromic Substring 5 #1589F0 String
6 ZigZag Conversion 6 #1589F0 String
7 Reverse Integer 7 #1589F0 Math
8 String to Integer (atoi) 8 #1589F0 String
9 Palindrome Number 9 #c5f015 Math
11 Container With Most Water 11 #1589F0 Array, Two pointers, Greedy
12 Integer to Roman 12 #1589F0 String
13 Roman to Integer 13 #c5f015 String, Math
14 Longest Common Prefix 14 #c5f015 String
15 3Sum 15 #1589F0 Array, Two pointers, Sorting
17 Letter Combinations of a Phone Number 17 #1589F0 String, DFS, Backtracking
19 Remove Nth Node From End of List 19 #1589F0 LinkedList, Math, Recursion
20 Valid Parentheses 20 #1589F0 String, Stack
21 Merge Two Sorted Lists 21 #c5f015 LinkedList
23 Merge k Sorted Lists 23 #f03c15 LinkedList
26 Remove Duplicates from Sorted Array 26 #c5f015 Array, Two Pointers
27 Remove Element 27 #c5f015 Array
28 Remove Element 28 #c5f015 Array
29 Divide Two Integers 29 #1589F0 Math
31 Next Permutation 31 #1589F0 Array
35 Search Insert Position 35 #c5f015 Array, Binary Search
36 Valid Sudoku 36 #1589F0 Array, Hash Table, Matrix
45 Jump Game II 45 #1589F0 Array, Dynamic Programming, Greedy
48 Rotate Image 48 #1589F0 Array, Math, Matrix
53 Maximum Subarray 53 #c5f015 Array, Divide and Coquer, Dynamic Programming
66 Plus One 66 #c5f015 Array, Math
67 Add Binary 67 #c5f015 Math, String, Bit Manipulation, Simulation
70 Climbing Stairs 70 #c5f015 Mayh, Dynamic Programming, Memoization
71 Simplify Path 71 #1589F0 String, Stack
88 Merge Sorted Array 88 #c5f015 Array, Two Pointers, Sorting
116 Populating Next Right Pointers in Each Node 116 #1589F0 Tree, Depth-First Search, Breadth-First-Search, Binary Tree
122 Best Time to Buy and Sell Stock II 122 #1589F0 Array, DynamicProgramming, Greedy
125 Valid Palindrome 125 #c5f015 Two Pointers, String
136 Single Number 136 #c5f015 Array, BitManipulation
138 Copy List with Random Pointer 138 #1589F0 Hash Table, Linked List
141 Linked List Cycle 141 #c5f015 Hash Table, Linked List, Two Pointers
160 Intersection of Two Linked Lists 160 #c5f015 Hash Table, Linked List, Two Pointers
167 Two Sum II - Input array is sorted 167 #c5f015 Array, Two Pointers, Binary Search
189 Rotate Array 189 #1589F0 Array, Math, Two Pointers
191 Number of 1 Bits 191 #c5f015 Bit Manipulation
199 Binary Tree Right Side View 199 #1589F0 Tree, Depth-First Search, Breadth-First-Search, Binary Tree

Legend

Easy Medium Hard
#c5f015 #1589F0 #f03c15

About

Solved problems from Leetcode.com

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages