leetcode 目录--更新....

 //注:很多代码未加入,内存分配是否成功的判断!

//二维数组分配问题需注意,leetcode 可以接受变量的a[m][n],自己实现需,int **a = new int [m];for(){a[i] = new int[n]} -- 释放类似

1、String to Integer (atoi)

2、 Populating Next Right Pointers in Each Node

3、Sort List

 

4、Insertion Sort List

 

5、Two Sum

 

6、Remove Duplicates from Sorted Array

7、LRU Cache

8、Sqrt(x)

9、Pow(x, n)

10、Remove Duplicates from Sorted Array II

11、Single Number

12、Single Number II

13、Valid Palindrome

14、Evaluate Reverse Polish Notation

15、Copy List with Random Pointer

16、Remove Duplicates from Sorted List

17、Candy

18、Add Binary

19、Valid Number

20、Valid Parentheses

21、Word Break

 

 

22、Triangle

23、Merge Two Sorted Lists

24、Gas Station

25、Palindrome Partitioning II

26、Interleaving String

27、Implement strStr()

28、Remove Duplicates from Sorted List II

29、Search in Rotated Sorted Array

30、Search in Rotated Sorted Array II

31、Permutations

32、Permutations II

33、Subsets

34、Subsets II

35、Restore IP Addresses

36、Regular Expression Matching

37、Letter Combinations of a Phone Number

38、Palindrome Partitioning

39、Maximum Subarray

40、Reverse Words in a String

41、Unique Paths

42、Unique Paths II

43、N-Queens

44、N-Queens II

45、Binary Tree Level Order Traversal

46、Combination Sum

47、Combination Sum II

48、Combinations

49、Generate Parentheses

50、 Jump Game

51、 Jump Game II

52、 Best Time to Buy and Sell Stock

53、Best Time to Buy and Sell Stock II

54、Best Time to Buy and Sell Stock III

 

55、Longest Substring Without Repeating Characters

 

56、Container With Most Water

57、Search for a Range

58、Search Insert Position

59、Search a 2D Matrix

60、Triangle

61、Largest Rectangle in Histogram 

62、Edit Distance

63、Decode Ways

64、Distinct Subsequences

65、3Sum

66、3Sum Closest

67、4Sum

68、Longest Palindromic Substring

69、Count and Say

70、Anagrams

71、Simplify Path

72、Length of Last Word

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值