Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

LeetCode

Problems are merged into AwangDev's LintCode Solutions.

[02/09/2016]This repo is no longer updating.

To host Java Solutions to problems from LeetCode(https://leetcode.com/problemset/algorithms/). I Will try to revise the solutions once new problem or new testing case occurs. Since I do not run .java files, they are formatted with markdowns to help compressing code in blog format.

Squence Problem Level Language
0 [3Sum Smaller.java](https://github.com/awangdev/LeetCode/blob/master/Java/3Sum Smaller.java) Java
1 3Sum.java Java
2 [Alien Dictionary.java](https://github.com/awangdev/LeetCode/blob/master/Java/Alien Dictionary.java) Java
3 [Binary Search Tree Iterator.java](https://github.com/awangdev/LeetCode/blob/master/Java/Binary Search Tree Iterator.java) Java
4 [Binary Tree Inorder Traversal.java](https://github.com/awangdev/LeetCode/blob/master/Java/Binary Tree Inorder Traversal.java) Java
5 [Binary Tree Level Order Traversal.java](https://github.com/awangdev/LeetCode/blob/master/Java/Binary Tree Level Order Traversal.java) Java
6 [Binary Tree Longest Consecutive Sequence.java](https://github.com/awangdev/LeetCode/blob/master/Java/Binary Tree Longest Consecutive Sequence.java) Java
7 [Binary Tree Paths.java](https://github.com/awangdev/LeetCode/blob/master/Java/Binary Tree Paths.java) Java
8 [Binary Tree Right Side View.java](https://github.com/awangdev/LeetCode/blob/master/Java/Binary Tree Right Side View.java) Java
9 [Building Outline.java](https://github.com/awangdev/LeetCode/blob/master/Java/Building Outline.java) Java
10 [Burst Balloons.java](https://github.com/awangdev/LeetCode/blob/master/Java/Burst Balloons.java) Java
11 [Closest Binary Search Tree Value.java](https://github.com/awangdev/LeetCode/blob/master/Java/Closest Binary Search Tree Value.java) Java
12 [Count Primes.java](https://github.com/awangdev/LeetCode/blob/master/Java/Count Primes.java) Java
13 [Course Schedule II.java](https://github.com/awangdev/LeetCode/blob/master/Java/Course Schedule II.java) Java
14 [Course Schedule.java](https://github.com/awangdev/LeetCode/blob/master/Java/Course Schedule.java) Java
15 [Encode and Decode Strings.java](https://github.com/awangdev/LeetCode/blob/master/Java/Encode and Decode Strings.java) Java
16 [Excel Sheet Column Number.java](https://github.com/awangdev/LeetCode/blob/master/Java/Excel Sheet Column Number.java) Java
17 [ExcelSheetColumnNumber .java](https://github.com/awangdev/LeetCode/blob/master/Java/ExcelSheetColumnNumber .java) Java
18 [Find Peak Element.java](https://github.com/awangdev/LeetCode/blob/master/Java/Find Peak Element.java) Java
19 [First Bad Version.java](https://github.com/awangdev/LeetCode/blob/master/Java/First Bad Version.java) Java
20 [Flatten 2D Vector.java](https://github.com/awangdev/LeetCode/blob/master/Java/Flatten 2D Vector.java) Java
21 [Flattern 2D Vector.java](https://github.com/awangdev/LeetCode/blob/master/Java/Flattern 2D Vector.java) Java
22 [Flip Game II.java](https://github.com/awangdev/LeetCode/blob/master/Java/Flip Game II.java) Java
23 [Flip Game.java](https://github.com/awangdev/LeetCode/blob/master/Java/Flip Game.java) Java
24 [Fraction to Recurring Decimal.java](https://github.com/awangdev/LeetCode/blob/master/Java/Fraction to Recurring Decimal.java) Java
25 [Game of Life.java](https://github.com/awangdev/LeetCode/blob/master/Java/Game of Life.java) Java
26 [Generate Parentheses.java](https://github.com/awangdev/LeetCode/blob/master/Java/Generate Parentheses.java) Java
27 [Graph Valid Tree.java](https://github.com/awangdev/LeetCode/blob/master/Java/Graph Valid Tree.java) Java
28 [Gray Code.java](https://github.com/awangdev/LeetCode/blob/master/Java/Gray Code.java) Java
29 [Group Anagrams.java](https://github.com/awangdev/LeetCode/blob/master/Java/Group Anagrams.java) Java
30 [H-Index II.java](https://github.com/awangdev/LeetCode/blob/master/Java/H-Index II.java) Java
31 H-Index.java Java
32 [Implement strStr().java](https://github.com/awangdev/LeetCode/blob/master/Java/Implement strStr().java) Java
33 [Implement Trie (Prefix Tree).java](https://github.com/awangdev/LeetCode/blob/master/Java/Implement Trie (Prefix Tree).java) Java
34 [Insert Interval.java](https://github.com/awangdev/LeetCode/blob/master/Java/Insert Interval.java) Java
35 [Integer to English Words.java](https://github.com/awangdev/LeetCode/blob/master/Java/Integer to English Words.java) Java
36 [Intersection of Two Linked Lists.java](https://github.com/awangdev/LeetCode/blob/master/Java/Intersection of Two Linked Lists.java) Java
37 [Jump Game.java](https://github.com/awangdev/LeetCode/blob/master/Java/Jump Game.java) Java
38 [Kth Smallest Element in a BST.java](https://github.com/awangdev/LeetCode/blob/master/Java/Kth Smallest Element in a BST.java) Java
39 [Letter Combinations of a Phone Number.java](https://github.com/awangdev/LeetCode/blob/master/Java/Letter Combinations of a Phone Number.java) Java
40 [Longest Palindromic Substring.java](https://github.com/awangdev/LeetCode/blob/master/Java/Longest Palindromic Substring.java) Java
41 [Lowest Common Ancestor of a Binary Search Tree.java](https://github.com/awangdev/LeetCode/blob/master/Java/Lowest Common Ancestor of a Binary Search Tree.java) Java
42 [LRU Cache.java](https://github.com/awangdev/LeetCode/blob/master/Java/LRU Cache.java) Java
43 MaximumSubarray.java Java
44 [Median of Two Sorted Arrays.java](https://github.com/awangdev/LeetCode/blob/master/Java/Median of Two Sorted Arrays.java) Java
45 [Meeting Rooms II.java](https://github.com/awangdev/LeetCode/blob/master/Java/Meeting Rooms II.java) Java
46 [Meeting Rooms.java](https://github.com/awangdev/LeetCode/blob/master/Java/Meeting Rooms.java) Java
47 [Merge Intervals.java](https://github.com/awangdev/LeetCode/blob/master/Java/Merge Intervals.java) Java
48 [Merge k Sorted Lists.java](https://github.com/awangdev/LeetCode/blob/master/Java/Merge k Sorted Lists.java) Java
49 [Merge Two Sorted Lists.java](https://github.com/awangdev/LeetCode/blob/master/Java/Merge Two Sorted Lists.java) Java
50 [Min Stack.java](https://github.com/awangdev/LeetCode/blob/master/Java/Min Stack.java) Java
51 [Minimum Height Trees.java](https://github.com/awangdev/LeetCode/blob/master/Java/Minimum Height Trees.java) Java
52 [Missing Ranges.java](https://github.com/awangdev/LeetCode/blob/master/Java/Missing Ranges.java) Java
53 [Multiply Strings.java](https://github.com/awangdev/LeetCode/blob/master/Java/Multiply Strings.java) Java
54 [Number of Islands.java](https://github.com/awangdev/LeetCode/blob/master/Java/Number of Islands.java) Java
55 [One Edit Distance.java](https://github.com/awangdev/LeetCode/blob/master/Java/One Edit Distance.java) Java
56 [Paint Fence.java](https://github.com/awangdev/LeetCode/blob/master/Java/Paint Fence.java) Java
57 [Palindrome Permutation.java](https://github.com/awangdev/LeetCode/blob/master/Java/Palindrome Permutation.java) Java
58 [Peeking Iterator.java](https://github.com/awangdev/LeetCode/blob/master/Java/Peeking Iterator.java) Java
59 [Perfect Squares.java](https://github.com/awangdev/LeetCode/blob/master/Java/Perfect Squares.java) Java
60 [Plus One.java](https://github.com/awangdev/LeetCode/blob/master/Java/Plus One.java) Java
61 [Restore IP Addresses.java](https://github.com/awangdev/LeetCode/blob/master/Java/Restore IP Addresses.java) Java
62 [Reverse Linked List.java](https://github.com/awangdev/LeetCode/blob/master/Java/Reverse Linked List.java) Java
63 [Reverse Words in a String II.java](https://github.com/awangdev/LeetCode/blob/master/Java/Reverse Words in a String II.java) Java
64 reverseInteger.java Java
65 [Rotate Image.java](https://github.com/awangdev/LeetCode/blob/master/Java/Rotate Image.java) Java
66 [Search a 2D Matrix II.java](https://github.com/awangdev/LeetCode/blob/master/Java/Search a 2D Matrix II.java) Java
67 [Search a 2D Matrix.java](https://github.com/awangdev/LeetCode/blob/master/Java/Search a 2D Matrix.java) Java
68 [String to Integer.java](https://github.com/awangdev/LeetCode/blob/master/Java/String to Integer.java) Java
69 [Strobogrammatic Number II.java](https://github.com/awangdev/LeetCode/blob/master/Java/Strobogrammatic Number II.java) Java
70 [Strobogrammatic Number.java](https://github.com/awangdev/LeetCode/blob/master/Java/Strobogrammatic Number.java) Java
71 [Summary Ranges.java](https://github.com/awangdev/LeetCode/blob/master/Java/Summary Ranges.java) Java
72 [Surrounded Regions.java](https://github.com/awangdev/LeetCode/blob/master/Java/Surrounded Regions.java) Java
73 [Symmetric Binar Tree.java](https://github.com/awangdev/LeetCode/blob/master/Java/Symmetric Binar Tree.java) Java
74 [Trapping Rain Water.java](https://github.com/awangdev/LeetCode/blob/master/Java/Trapping Rain Water.java) Java
75 [Two Sum II - Input array is sorted.java](https://github.com/awangdev/LeetCode/blob/master/Java/Two Sum II - Input array is sorted.java) Java
76 [Two Sum.java](https://github.com/awangdev/LeetCode/blob/master/Java/Two Sum.java) Java
77 [Ugly Number II.java](https://github.com/awangdev/LeetCode/blob/master/Java/Ugly Number II.java) Java
78 [Ugly Number.java](https://github.com/awangdev/LeetCode/blob/master/Java/Ugly Number.java) Java
79 [Unique Word Abbreviation.java](https://github.com/awangdev/LeetCode/blob/master/Java/Unique Word Abbreviation.java) Java
80 [Valid Anagram.java](https://github.com/awangdev/LeetCode/blob/master/Java/Valid Anagram.java) Java
81 [Valid Parentheses.java](https://github.com/awangdev/LeetCode/blob/master/Java/Valid Parentheses.java) Java
82 [Validate Binary Search Tree.java](https://github.com/awangdev/LeetCode/blob/master/Java/Validate Binary Search Tree.java) Java
83 [Wiggle Sort.java](https://github.com/awangdev/LeetCode/blob/master/Java/Wiggle Sort.java) Java
84 [Word Pattern.java](https://github.com/awangdev/LeetCode/blob/master/Java/Word Pattern.java) Java
85 [Zigzag Iterator.java](https://github.com/awangdev/LeetCode/blob/master/Java/Zigzag Iterator.java) Java

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.