类别归档:LeetCode

LeetCode OJ is a platform for preparing technical coding interviews.

RSS feed of LeetCode

LeetCode Weekly Contest 56解题报告

LeetCode Weekly Contest 56是LeetCode举办的第六十场正式周赛,共4道题目,比赛时长1.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-56/

题解列表:

LeetCode 717. 1-bit and 2-bit Characters

LeetCode 443. String Compression

LeetCode 718. Maximum Length of Repeated Subarray

LeetCode 719. Find K-th Smallest Pair Distance

[LeetCode]Find K-th Smallest Pair Distance

题目描述:

LeetCode 719. Find K-th Smallest Pair Distance

Given an integer array, return the k-th smallest distance among all the pairs. The distance of a pair (A, B) is defined as the absolute difference between A and B.

Example 1 ...

继续阅读