Solutions-for-Leetcode

This project will update detailed solutions for the problems on Leetcode. Problems are classified by the algrithom or data structure they use,and puted into different folders.

For every problem,I will try different solutions and discuss it on my blog. Furthermore,I will use different programming languages for every problem.

My blog(chinese):http://blog.csdn.net/u012162613

Problem----(Folder)

1.Two Sum ----(Hash table) code

7.Reverse Integer ----(Math) code

151.Reverse Words in a String ----(String) code

160.Intersection of Two Linked Lists ----(Linked List) code

162.Find Peak Element----(Divide and Conquer) code

165.Compare Version Numbers----(String) code

166.Fraction to Recurring Decimal----(Hash table) code

168.Excel Sheet Column Title----(Math) code

169.Majority Element----(Hash table) code

171.Excel Sheet Column Number----(Math) code

172.Factorial Trailing Zeroes----(Math) code

189.Rotate Array ----(Array) code

190.Reverse Bits ----(Others) code

191.Number of 1 Bits ----(Others) code