最新 最热

LeetCode 0307 - Range Sum Query - Mutable

Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.

2021-08-11
1

LeetCode 0373 - Find K Pairs with Smallest Sums

You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k.

2021-08-11
0

LeetCode 0349 - Intersection of Two Arrays

Given two arrays, write a function to compute their intersection.

2021-08-11
0

LeetCode 0309 - Best Time to Buy and Sell Stock with Cooldown

Say you have an array for which the ith element is the price of a given stock on day i.

2021-08-11
1

LeetCode 0378 - Kth Smallest Element in a Sorted Matrix

Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix.

2021-08-11
1

LeetCode 0121 - Best Time to Buy and Sell Stock

Say you have an array for which the ith element is the price of a given stock on day i.

2021-08-11
1

LeetCode 0122 - Best Time to Buy and Sell Stock II

Say you have an array for which the ith element is the price of a given stock on day i.

2021-08-11
1

LeetCode 0123 - Best Time to Buy and Sell Stock III

Say you have an array for which the ith element is the price of a given stock on day i.

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
1

LeetCode 0073 - Set Matrix Zeroes

Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.

2021-08-11
1