leetcode Solutions.java 250 / 269 (Algorithms)
Branch: gh-pages
Clone or download
Latest commit b2b0ac5 Sep 24, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
3sum-closest
3sum move to include_relative Apr 8, 2015
4sum
_includes move to include_relative Apr 8, 2015
_layouts
add-and-search-word-data-structure-design
add-binary
add-digits
add-two-numbers move to include_relative Apr 8, 2015
anagrams
balanced-binary-tree move to include_relative Apr 8, 2015
basic-calculator-ii fix leetcode id Jun 28, 2015
basic-calculator add two basic calculator Jun 28, 2015
best-time-to-buy-and-sell-stock-ii move to include_relative Apr 8, 2015
best-time-to-buy-and-sell-stock-iii
best-time-to-buy-and-sell-stock-iv move to include_relative Apr 8, 2015
best-time-to-buy-and-sell-stock
binary-search-tree-iterator
binary-tree-inorder-traversal
binary-tree-level-order-traversal-ii
binary-tree-level-order-traversal
binary-tree-maximum-path-sum move to include_relative Apr 8, 2015
binary-tree-paths
binary-tree-postorder-traversal
binary-tree-preorder-traversal
binary-tree-right-side-view update time May 10, 2015
binary-tree-upside-down
binary-tree-zigzag-level-order-traversal move to include_relative Apr 8, 2015
bitwise-and-of-numbers-range
candy move to include_relative Apr 8, 2015
climbing-stairs
clone-graph
closest-binary-search-tree-value
combination-sum-ii
combination-sum-iii add combination sum iii May 25, 2015
combination-sum
combinations
compare-version-numbers
construct-binary-tree-from-inorder-and-postorder-traversal move to include_relative Apr 8, 2015
construct-binary-tree-from-preorder-and-inorder-traversal move to include_relative Apr 8, 2015
container-with-most-water move to include_relative Apr 8, 2015
contains-duplicate-ii
contains-duplicate-iii
contains-duplicate add contain dup May 25, 2015
convert-sorted-array-to-binary-search-tree move to include_relative Apr 8, 2015
convert-sorted-list-to-binary-search-tree move to include_relative Apr 8, 2015
copy-list-with-random-pointer
count-and-say
count-complete-tree-nodes
count-primes
count-univalue-subtrees remove import java.util.Objects Aug 17, 2015
course-schedule-ii course shed ii May 13, 2015
course-schedule update time May 10, 2015
css new style by newer version of jekyll Jul 24, 2014
decode-ways move to include_relative Apr 8, 2015
delete-node-in-a-linked-list
different-ways-to-add-parentheses
distinct-subsequences move to include_relative Apr 8, 2015
divide-two-integers
dungeon-game
edit-distance move to include_relative Apr 8, 2015
encode-and-decode-strings
evaluate-reverse-polish-notation move to include_relative Apr 8, 2015
excel-sheet-column-number
excel-sheet-column-title move to include_relative Apr 8, 2015
factor-combinations add factor comb Aug 12, 2015
factorial-trailing-zeroes
find-minimum-in-rotated-sorted-array-ii
find-minimum-in-rotated-sorted-array
find-peak-element move to include_relative Apr 8, 2015
first-bad-version
first-missing-positive move to include_relative Apr 8, 2015
flatten-2d-vector add new codes Aug 6, 2015
flatten-binary-tree-to-linked-list
fraction-to-recurring-decimal
gas-station move to include_relative Apr 8, 2015
generate-parentheses move to include_relative Apr 8, 2015
gray-code
happy-number update time May 10, 2015
house-robber-ii add horse rob ii May 20, 2015
house-robber fix typo May 20, 2015
implement-queue-using-stacks
implement-stack-using-queues
implement-strstr
implement-trie-prefix-tree
inorder-successor-in-bst add biset and next inorder bst Sep 24, 2015
insert-interval move to include_relative Apr 8, 2015
insertion-sort-list move to include_relative Apr 8, 2015
integer-to-roman move to include_relative Apr 8, 2015
interleaving-string move to include_relative Apr 8, 2015
intersection-of-two-linked-lists
invert-binary-tree
isomorphic-strings
jump-game-ii
jump-game
kth-largest-element-in-an-array Update README.md Jul 29, 2015
kth-smallest-element-in-a-bst add k smallest in bst Jul 2, 2015
largest-number
largest-rectangle-in-histogram move to include_relative Apr 8, 2015
length-of-last-word move to include_relative Apr 8, 2015
letter-combinations-of-a-phone-number move to include_relative Apr 8, 2015
linked-list-cycle-ii move to include_relative Apr 8, 2015
linked-list-cycle move to include_relative Apr 8, 2015
longest-common-prefix
longest-consecutive-sequence
longest-palindromic-substring move to include_relative Apr 8, 2015
longest-substring-with-at-most-two-distinct-characters move to include_relative Apr 8, 2015
longest-substring-without-repeating-characters
longest-valid-parentheses
lowest-common-ancestor-of-a-binary-search-tree
lowest-common-ancestor-of-a-binary-tree
lru-cache
majority-element-ii
majority-element
max-points-on-a-line
maximal-rectangle
maximal-square
maximum-depth-of-binary-tree
maximum-gap move to include_relative Apr 8, 2015
maximum-product-subarray move to include_relative Apr 8, 2015
maximum-subarray
median-of-two-sorted-arrays move to include_relative Apr 8, 2015
meeting-rooms-ii add meeting roooms Aug 12, 2015
meeting-rooms
merge-intervals move to include_relative Apr 8, 2015
merge-k-sorted-lists move to include_relative Apr 8, 2015
merge-sorted-array move to include_relative Apr 8, 2015
merge-two-sorted-lists move to include_relative Apr 8, 2015
min-stack
minimum-depth-of-binary-tree
minimum-path-sum
minimum-size-subarray-sum add min size subarray May 12, 2015
minimum-window-substring
missing-number too old to catch up with leetcode Aug 24, 2015
missing-ranges move to include_relative Apr 8, 2015
move-zeroes first easy after a happy holiday Sep 24, 2015
multiply-strings
n-queens-ii move to include_relative Apr 8, 2015
n-queens move to include_relative Apr 8, 2015
next-permutation move to include_relative Apr 8, 2015
number-of-1-bits move to include_relative Apr 8, 2015
number-of-digit-one num of digit 1 Jul 7, 2015
number-of-islands
one-edit-distance
paint-house add 4 new codes Aug 16, 2015
palindrome-linked-list add lca of bst and pal linked list Jul 12, 2015
palindrome-number
palindrome-partitioning-ii move to include_relative Apr 8, 2015
palindrome-partitioning
palindrome-permutation-ii
palindrome-permutation
partition-list
pascals-triangle-ii
pascals-triangle
path-sum-ii
path-sum move to include_relative Apr 8, 2015
peeking-iterator add peeking iter Sep 24, 2015
permutation-sequence
permutations-ii move to include_relative Apr 8, 2015
permutations
plus-one move to include_relative Apr 8, 2015
populating-next-right-pointers-in-each-node-ii
populating-next-right-pointers-in-each-node move to include_relative Apr 8, 2015
power-of-two pow of two Jul 6, 2015
powx-n update time May 10, 2015
product-of-array-except-self add product of array Jul 26, 2015
read-n-characters-given-read4-ii-call-multiple-times
read-n-characters-given-read4
recover-binary-search-tree
rectangle-area
regular-expression-matching
remove-duplicates-from-sorted-array-ii
remove-duplicates-from-sorted-array
remove-duplicates-from-sorted-list-ii
remove-duplicates-from-sorted-list
remove-element
remove-linked-list-elements
remove-nth-node-from-end-of-list
reorder-list
repeated-dna-sequences move to include_relative Apr 8, 2015
restore-ip-addresses update time May 10, 2015
reverse-bits
reverse-integer move to include_relative Apr 8, 2015
reverse-linked-list-ii move to include_relative Apr 8, 2015
reverse-linked-list
reverse-nodes-in-k-group update time May 10, 2015
reverse-words-in-a-string-ii
reverse-words-in-a-string
roman-to-integer move to include_relative Apr 8, 2015
rotate-array move to include_relative Apr 8, 2015
rotate-image
rotate-list
same-tree move to include_relative Apr 8, 2015
scramble-string
search-a-2d-matrix-ii
search-a-2d-matrix move to include_relative Apr 8, 2015
search-for-a-range
search-in-rotated-sorted-array-ii
search-in-rotated-sorted-array move to include_relative Apr 8, 2015
search-insert-position
set-matrix-zeroes
shortest-palindrome
shortest-word-distance
simplify-path
single-number-ii move to include_relative Apr 8, 2015
single-number-iii
single-number
sliding-window-maximum
sort-colors move to include_relative Apr 8, 2015
sort-list move to include_relative Apr 8, 2015
spiral-matrix-ii
spiral-matrix
sqrtx move to include_relative Apr 8, 2015
string-to-integer-atoi
strobogrammatic-number add new codes Aug 6, 2015
subsets-ii
subsets move to include_relative Apr 8, 2015
substring-with-concatenation-of-all-words
sudoku-solver
sum-root-to-leaf-numbers move to include_relative Apr 8, 2015
summary-ranges add 3 easier problems Jun 28, 2015
surrounded-regions
swap-nodes-in-pairs move to include_relative Apr 8, 2015
symmetric-tree
text-justification
the-skyline-problem
trapping-rain-water
triangle
two-sum-ii-input-array-is-sorted move to include_relative Apr 8, 2015
two-sum-iii-data-structure-design
two-sum fix bag index file Apr 8, 2015
unique-binary-search-trees-ii
unique-binary-search-trees
unique-paths-ii move to include_relative Apr 8, 2015
unique-paths
valid-anagram
valid-number
valid-palindrome move to include_relative Apr 8, 2015
valid-parentheses
valid-sudoku
validate-binary-search-tree move to include_relative Apr 8, 2015
verify-preorder-sequence-in-binary-search-tree
wildcard-matching move to include_relative Apr 8, 2015
word-break-ii
word-break
word-ladder-ii move to include_relative Apr 8, 2015
word-ladder move to include_relative Apr 8, 2015
word-search-ii add word search ii May 19, 2015
word-search move to include_relative Apr 8, 2015
zigzag-conversion move to include_relative Apr 8, 2015
zigzag-iterator add zigzag iter Sep 24, 2015
.gitignore
CNAME
Gemfile
README.md
_config.yml
auto_time.sh use readme time Jul 24, 2014
index.html use leetcode_id for sorting Dec 28, 2014
skeleton.sh stop if cant fetch leetcode_id Sep 24, 2015

README.md

#Leetcode solutions

Github Page

Please Donate leetcode

TODO

  • Evaluate the Time and Space complexity of each solution
  • Proof the code's correctness if needed
  • Find better solutions
  • Rewrite code with Java8 lambda