最新 最热

LeetCode 0080 - Remove Duplicates from Sorted Array II

Remove Duplicates from Sorted Array IIDesicriptionFollow up for “Remove Duplicates”:What if dupli

2021-08-11
2

LeetCode 0082 - Remove Duplicates from Sorted List II

Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.

2021-08-11
1

LeetCode 0083 - Remove Duplicates from Sorted List

Given a sorted linked list, delete all duplicates such that each element appear only once.

2021-08-11
2

LeetCode 0084 - Largest Rectangle in Histogram

Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.

2021-08-11
1

LeetCode 0085 - Maximal Rectangle

Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing only 1’s and return its area.

2021-08-11
1

LeetCode 0069 - Sqrt(x)

x is guaranteed to be a non-negative integer.

2021-08-11
1

java8 Stream API及常用方法

filter 主要是做筛选用 filte括号里面结果满足返回true 不满足返回false,返回结果为return true筛选后的结果

2021-08-11
1

LeetCode 0077 - Combinations

Given two integers n and k, return all possible combinations of k numbers out of 1 … n.

2021-08-11
1

LeetCode 0059 - Spiral Matrix II

Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.

2021-08-11
1

LeetCode 0060 - Permutation Sequence

The set [1,2,3,…,n] contains a total of n! unique permutations.

2021-08-11
1