/leetcode

Solutions to algorithms problems on leetcode in Java.

Primary LanguageJavaMIT LicenseMIT

My solutions to the algorithm problems on leetcode.


ID Problem Solution
1 Two Sum Java
2 Add Two Numbers Java
3 Longest Substring Without Repeating Characters Java
4 Median of Two Sorted Arrays Java
7 Reverse Integer Java
20 Valid Parentheses Java
21 Merge Two Sorted Lists Java
28 Implement strStr() Java
53 Maximum Subarray Java
58 Length of Last Word Java
64 Minimum Path Sum Java
83 Remove Duplicates from Sorted List Java
100 Same Tree Java
102 Binary Tree Level Order Traversal Java
111 Minimum Depth of Binary Tree Java
112 Path Sum Java
118 Pascal's Triangle Java
121 Best Time to Buy and Sell Stock Java
125 Valid Palindrome Java
139 Word Break Java
155 Mini Stack Java
198 House Robber Java
202 Happy Number Java
208 Implement algorithm._0208.Trie (Prefix Tree) Java
226 Invert Binary Tree Java