档案日期2017的21

2017年5月22日 - 2017年5月28日

LeetCode Weekly Contest 34解题报告

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

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

题解列表:

LeetCode 598. Range Addition II

LeetCode 599. Minimum Index Sum of Two Lists

LeetCode 565. Array Nesting

LeetCode 600. Non-negative Integers without Consecutive Ones

[LeetCode]Non-negative Integers without Consecutive Ones

题目描述:

LeetCode 600. Non-negative Integers without Consecutive Ones

Given a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT contain consecutive ones.

Example 1:

Input: 5
Output: 5
Explanation ...

继续阅读

[LeetCode]Minimum Index Sum of Two Lists

题目描述:

LeetCode 599. Minimum Index Sum of Two Lists

Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings.

You need to help them find out their ...

继续阅读

每日归档

上周

下周

归档