大家好,最近似乎蛮多刷题进FAANG的讨论串
身为刷题仔的一员,在此分享敝人的刷题清单
若不特别针对某公司的历史题库下,究竟哪些题目值得优先练习呢?
赞数多通常只是因为该题比较早发表,所以我认为应该用‘赞/倒赞比’来排序
但是leetcode没有提供这个数值,所以我用leetcode的API去把这个资料爬出来:
以下是排名前五十,且不需付费的题目:
Id title
990 Satisfiability of Equality Equations
72 Edit Distance
226 Invert Binary Tree
329 Longest Increasing Path in a Matrix
42 Trapping Rain Water
208 Implement Trie (Prefix Tree)
1004 Max Consecutive Ones III
895 Maximum Frequency Stack
871 Minimum Number of Refueling Stops
992 Subarrays with K Different Integers
863 All Nodes Distance K in Binary Tree
295 Find Median from Data Stream
958 Check Completeness of a Binary Tree
337 House Robber III
106 Construct Binary Tree from Inorder and Postorder Traversal
101 Symmetric Tree
300 Longest Increasing Subsequence
174 Dungeon Game
983 Minimum Cost For Tickets
78 Subsets
221 Maximal Square
1187 Make Array Strictly Increasing
1110 Delete Nodes And Return Forest
206 Reverse Linked List
946 Validate Stack Sequences
102 Binary Tree Level Order Traversal
84 Largest Rectangle in Histogram
64 Minimum Path Sum
862 Shortest Subarray with Sum at Least K
583 Delete Operation for Two Strings
416 Partition Equal Subset Sum
1207 Unique Number of Occurrences
1035 Uncrossed Lines
560 Subarray Sum Equals K
407 Trapping Rain Water II
632 Smallest Range Covering Elements from K Lists
240 Search a 2D Matrix II
105 Construct Binary Tree from Preorder and Inorder Traversal
968 Binary Tree Cameras
962 Maximum Width Ramp
960 Delete Columns to Make Sorted III
739 Daily Temperatures
85 Maximal Rectangle
714 Best Time to Buy and Sell Stock with Transaction Fee
312 Burst Balloons
39 Combination Sum
1092 Shortest Common Supersequence
1011 Capacity To Ship Packages Within D Days
979 Distribute Coins in Binary Tree
864 Shortest Path to Get All Keys
完整名单csv档跟API呼叫的原始码我放在我的github:
https://github.com/fatliau/leetcode_MostLikedQuests/blob/master/qestions.csv
这个资料是去年捞的,所以想要更新的就要再重跑一下