因为在开始写这个博客之前,已经刷了100题了,所以现在还是有很多题目没有加进来,为了方便查找哪些没加进来,先列一个表可以比较清楚的查看,也方便给大家查找。如果有哪些题目的链接有错误,请大家留言和谅解,链多了会眼花。 # Title Category Difficulty 1528 Shuffle S
This is LeetCode's official curated list of Top classic interview questions to help you land your dream job. Our top interview questions are divided into the following series: Easy Collection Medium Collection Hard Collection to help you master Data Structure & Algorithms and improve your coding ...
LeetCode Top 100 Liked Questions 114. Flatten Binary Tree to Linked List (Java版; Medium) 题目描述 Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 \ 2 \ 3 \ 4 ...
Frequency Sort (medium) Kth Largest Number in a Stream (medium) ‘K’ Closest Numbers (medium) Maximum Distinct Elements (medium) Sum of Elements (medium) Rearrange String (hard) 13. Pattern: K-way merge,多路归并 K路归并能帮咱们解决那些涉及到多组排好序的数组的问题。 每当你的输入是K个排...
LeetCode Top Interview Questions 29. Divide Two Integers (Java版; Medium) 题目描述 Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. Return the quotient after dividing dividend by divisor. ...
所以大家不要走我这个弯路,建议有了Easy的基础之后,就分Tag刷Medium。把dfs,bfs,tree, linkedlist, sliding window, binary search, stack, dynamic programming... 各刷个十几道,就差不多会了。另外Top 100 liked questions 这个里面的题都很有意思,像 @胡津铭 建议的一样,这里面的题我也刷了三四遍。刚开始...
LeetCode Top Interview Questions LeetCode Top Interview Questions https://leetcode.com/problemset/top-interview-questions/
Problem List RegisterorSign in Premium Given an array of integerscitationswherecitations[i]is the number of citations a researcher received for theirithpaper andcitationsis sorted innon-descending order, returnthe researcher's h-index. According to thedefinition of h-index on Wikipedia: The h-...
2140.Solving-Questions-With-Brainpower (H) 2189.Number-of-Ways-to-Build-House-of-Cards (H-) 2218.Maximum-Value-of-K-Coins-From-Piles (H-) 2222.Number-of-Ways-to-Select-Buildings (M+) 2312.Selling-Pieces-of-Wood (M+) 2338.Count-the-Number-of-Ideal-Arrays (H) 2431.Maximize-Total-...
1329 Sort the Matrix Diagonally 83.00% Medium 1328 Break a Palindrome 52.10% Medium 1327 List the Products Ordered in a Period * 71.90% Easy 1326 Minimum Number of Taps to Open to Water a Garden 51.60% Hard 1325 Delete Leaves With a Given Value 74.40% Medium 1324 Print Words Vertically 62....