Array(Easy)

2017-09-05  本文已影响0人  骑鲸公子_

561. Array Partition I

566. Reshape the Matrix

485. Max Consecutive Ones

122. Best Time to Buy and Sell Stock II

217. Contains Duplicate

628. Maximum Product of Three Numbers

268. Missing Number

35. Search Insert Position

53. Maximum Subarray

动态规划

66. Plus One

118. Pascal's Triangle

vector(itn nSize):创建一个vector,元素个数为nSize。

vector(int nSize, const T& t):创建一个vector,元素个数为nSize,且值均为t。

643. Maximum Average Subarray I

滑动窗口

119. Pascal's Triangle II

1. Two Sum

上一篇 下一篇

猜你喜欢

热点阅读