刷题顺序表 Array
Posted akarinnnn
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了刷题顺序表 Array相关的知识,希望对你有一定的参考价值。
题号 题目链接 说明
基础
27 Remove Element
26 Remove Duplicates from Sorted Array
80 Remove Duplicates from Sorted Array II
277 Find the Celebrity
189 Rotate Array
41 First Missing Positive
299 Bulls and Cows
134 Gas Station
118 Pascal‘s Triangle 很少考
119 Pascal‘s Triangle II 很少考
169 Majority Element 很少考
229 Majority Element II 很少考
274 H-Index
275 H-Index II Binary Search
243 Shortest Word Distance
244 Shortest Word Distance II
245 Shortest Word Distance III
217 Contains Duplicate
219 Contains Duplicate II 很少考
220 Contains Duplicate III 很少考
55 Jump Game
45 Jump Game II
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
309 Best Time to Buy and Sell Stock with Cooldown
11 Container With Most Water
42 Trapping Rain Water
334 Increasing Triplet Subsequence
128 Longest Consecutive Sequence
164 Maximum Gap Bucket
287 Find the Duplicate Number
135 Candy 很少考
330 Patching Array 很少考
提高
4 Median of Two Sorted Arrays 很少考
321 Create Maximum Number 很少考
327 Count of Range Sum
289 Game of Life
Interval
57 Insert Interval
56 Merge Intervals
252 Meeting Rooms
253 Meeting Rooms II
352 Data Stream as Disjoint Intervals TreeMap
Counter
239 Sliding Window Maximum
295 Find Median from Data Stream
53 Maximum Subarray
325 Maximum Size Subarray Sum Equals k
209 Minimum Size Subarray Sum
238 Product of Array Except Self
152 Maximum Product Subarray
228 Summary Ranges
163 Missing Ranges
Counter
88 Merge Sorted Array
75 Sort Colors
283 Move Zeroes
376 Wiggle Subsequence
280 Wiggle Sort
324 Wiggle Sort II
278 First Bad Version
35 Search Insert Position
33 Search in Rotated Sorted Array
81 Search in Rotated Sorted Array II
153 Find Minimum in Rotated Sorted Array
154 Find Minimum in Rotated Sorted Array II
162 Find Peak Element
374 Guess Number Higher or Lower
34 Find First and Last Position of Element in Sorted Array
349 Intersection of Two Arrays
350 Intersection of Two Arrays II
315 Count of Smaller Numbers After Self
300 Longest Increasing Subsequence
354 Russian Doll Envelopes
https://cspiration.com/leetcodeClassification#10309
以上是关于刷题顺序表 Array的主要内容,如果未能解决你的问题,请参考以下文章
数据结构学习笔记二线性表---顺序表篇(画图详解+代码实现)