Skip to content

zhaoxy136/Data-structure-and-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

946 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

Some interesting OJ Practices based on Java. Mainly from LeetCode, partly from LintCode and Google OJ.

String

-Add Binary

Array

-Counting Bits
-Third Maximum Number

Stack and Heap

-Decode String
-Find Largest Value In Each Tree Row
-Min Stack

Tree

-Construct Binary Tree from Preorder and Inorder Traversal

Bit Manipulation

-Power Of Four

Divide-And-Conquer

-Maximum Depth Of Binary Tree
-Minimum Depth Of Binary Tree
-Balanced Binary Tree
-Lowest Common Ancestor Of A BST
-Lowest Common Ancestor Of A Binary Tree
-Binary Tree Maximum Path Sum
-Elimination Game

Depth-First-Search

-Path Sum
-Path Sum II
-Path Sum III
-Validate Binary Search Tree
-Binary Tree Preorder Traversal
-Binary Tree Inorder Traversal
-Binary Tree Postorder Traversal
-Inorder Successor In Binary Search Tree
-Binary Search Tree Iterator
-Sum Root to Leaf Numbers

Breadth-First-Search

-Binary Tree Level Order Traversal
-Binary Tree Level Order Traversal II
-Binary Tree Zigzag Level Order Traversal
-Course Schedule
-Course Schedule II
-Number of Islands
-Pacific Atlantic Water Flow
-Surrounded Regions
-Symmetric Tree
-Clone Graphs
-Word Ladder
-Word Ladder II

Backtracking

-Combinations
-Combination Sum
-Combination Sum II
-Combination Sum III
-Subsets
-Subsets II
-Permutations
-Permutations II
-Permutation Sequence
-Binary Watch
-N Queens

Dynamic Programming

-Triangle   -Minimum Path Sum
-Unique Paths
-Unique Paths II
-Climbing Stairs
-Jump Game
-Jump Game II
-Palindrome Partition II
-Word Break
-House Robber
-House Robber II
-House Robber III -Backpack i
-Backpack ii
-Partition Equal Subset Sum
-Arithmetic Slices
-Wiggle Subsequence
-Is Subsequence
-Integer Break
-Maximum Subarray
-K Sum

About

Some interesting exercises

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages