Skip to content

zzoeliu/leetcode_java

Repository files navigation

leetcode_java

prepare for jobhunting. java version of Leetcode.
easy 55 about takes 5 days
medium 112 about takes 20 days
hard 48 about take 10 days

   Summarize and implement all sort algorithms
    Tree/Graph traverse: DFS,BFS,LFS

07/01/2015

Set up IntelliJ for Github
Finish easy problems in Leetcode using java.
1.Roman to Integer
2.Binary Tree Level Order Travasal II
3.Binary Tree Level Order Travasal
4.Contains Duplicate II
5.Contains Duplicate

07/02/2015

1.Valid Parentheses
2.Maximum Depth of Binary Tree
3.Valid Palindrome
4.Same Tree
5.Implement strStr()
6.Number of 1 Bits
7.Excel Sheet Column Title
7.Excel Sheet Column Number
8.Summary Ranges      *
9.Isomorphic Strings  *
10.Count Primes

07/03/2015

1.Merge Sorted Array
2.ZigZag Conversion
3.Valid Sudoku
4.Add Binary
5.Balanced Binary Tree
6.Symmetric Tree
7.String to Integer (atoi)

07/04/2015

1.Min Stack
2.Invert Binary Tree
3.Rectangle Area
4.Factorial Trailing Zeroes
5.Remove Linked List Elements
6.Happy Number
7.House Robber **
8.Reverse Bits
9.Rotate Array
10.Reverse Linked List
11.Reverse Integer   overflow problem 1534236469
12.Majority Element

07/05/2015

1.Compare Version Numbers
2.Intersection of Two Linked Lists
3.Palindrome Number
4.Longest Common Prefix
5.Remove Nth Node From End of List
6.Merge Two Sorted Lists
7.Pascal's Triangle II
8.Pascal's Triangle
9.Remove Element
10.Path Sum
11.Minimum Depth of Binary Tree
12.Remove Duplicates from Sorted List
13.Count and Say
14.Climbing Stairs
15.Plus One
16.Length of Last Word
17.Power of Two


easy completed.

07/06/2015

1.Course Schedule
2.Course Schedule II
3.Container With Most Water
4.Integer to Roman
5.Two Sum

07/07/2015

1.Find Minimum in Rotated Sorted Array
2.Maximum Product Subarray
3.Reverse Words in a String
4.Evaluate Reverse Polish Notation
5.Permutations
6.Permutations II

07/08/2015

Summarize and implement all sort algorithms
Tree traverse: DFS,BFS,LFS
1.Convert Sorted List to Binary Search Tree
2.Majority Element II
3.Number of Digit One
4.Count Complete Tree Nodes
5.Sort List(merge sort in O(nlgn))
6.Merge Intervals

07/09/2015

1.Insertion Sort List
2.Maximal Square

07/10/2015

1.Linked List Cycle
2.Linked List Cycle II
3.3Sum
4.Binary Tree Preorder Traversal
5.Reorder List
6.Jump Game
7.N-Queens

07/11/2015

1.Jump Game II
2.Word Break
3.Single Number
4.Single Number II
5.Gas Station
6.Clone Graph
7.Palindrome Partitioning

07/12/2015

1.Word Ladder

2.Pow(x, n)

07/13/2015

1.Word Ladder II
2.Anagrams
3.Rotate Image
4.Maximum Subarray
5.Spiral Matrix
6.Trapping Rain Water

07/14/2015

1.Surrounded Regions
2.Sum Root to Leaf Numbers
3.Bitwise AND of Numbers Range
4.Number of Islands
5.Binary Tree Right Side View

07/15/2015

1.Generate Parentheses
2.Swap Nodes in Pairs
3.Best Time to Buy and Sell Stock
4.Best Time to Buy and Sell Stock II
5.Best Time to Buy and Sell Stock III
6.Triangle

07/16/2015

About

prepare for jobhunting. java version of Leetcode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published