![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode Weekly Contest 93
杨领well
君子食无求饱,居无求安,敏于事而慎于言,就有道而正焉。
展开
-
LeetCode: 871. Minimum Number of Refueling Stops
LeetCode: 871. Minimum Number of Refueling Stops题目描述A car travels from a starting position to a destination which is target miles east of the starting position.Along the way, there are gas sta...原创 2018-07-17 08:44:51 · 315 阅读 · 0 评论 -
LeetCode: Weekly Contest 93
LeetCode: Weekly Contest 93题解列表1. LeetCode: 868. Binary Gap 题解2. LeetCode: 869. Reordered Power of 2 题解3. LeetCode: 870. Advantage Shuffle 题解4. LeetCode: 871. Minimum Number of Refueling S...原创 2018-07-15 11:06:29 · 196 阅读 · 0 评论 -
LeetCode: 868. Binary Gap
LeetCode: 868. Binary Gap题目描述Given a positive integer N, find and return the longest distance between two consecutive 1’s in the binary representation of N. If there aren’t two consecutive 1’s,...原创 2018-07-15 11:11:05 · 547 阅读 · 0 评论 -
LeetCode: 869. Reordered Power of 2
LeetCode: 869. Reordered Power of 2题目描述Starting with a positive integer N, we reorder the digits in any order (including the original order) such that the leading digit is not zero.Return true...原创 2018-07-15 11:15:52 · 547 阅读 · 0 评论 -
LeetCode: 870. Advantage Shuffle
LeetCode: 870. Advantage Shuffle题目描述Given two arrays A and B of equal size, the advantage of A with respect to B is the number of indices i for which A[i] > B[i]. Return any permutation of A t...原创 2018-07-15 15:00:37 · 524 阅读 · 0 评论