Leetcode题目汇总(持续更新)

一开始想写Pat甲上的题,但Pat甲上的题考查太单一了,大部分是一些数据结构、图的题,听说Leetcode不错,就刷这个了,发现这个OJ和其它的OJ不太一样,以函数的形式提交题目,样例不能在本地测了,以下每一道题的代码都会有C和Java两份,其实刷算法题用什么语言都大同小异。更新的会非常慢。。。。。

1.Two Sum

2.Add Two Numbers

3.Longest Substring Without Repeating Characters

4.Median of Two Sorted Arrays

5.Longest Palindromic Substring

64. Minimum Path Sum

121.Best Time to Buy and Sell Stock    

122.Best Time to Buy and Sell Stock II    

123.Best Time to Buy and Sell Stock III    

188. Best Time to Buy and Sell Stock IV

198. House Robber​​​​​​​

309.Best Time to Buy and Sell Stock with Cooldown

200. Number of Islands

224. Basic Calculator

242.Valid Anagram

274.H-Index

283. Move Zeroes

530. Minimum Absolute Difference in BST

714.Best Time to Buy and Sell Stock with Transaction Fee

925.Long Pressed Name

941.Valid Mountain Array

942.Delete Columns to Make Sorted

943.DI String Match

944.Find the Shortest Superstring

945.Minimum Increment to Make Array Unique

946.Validate Stack Sequences  

947.Most Stones Removed with Same Row or Column   

948.Bag of Tokens

949.Largest Time for Given Digits

950.Reveal Cards In Increasing Order 

951.Flip Equivalent Binary Trees 

952.Largest Component Size by Common Factor

你可能感兴趣的:(Leetcode)