归档 2018

[LeetCode]Smallest Rotation with Highest Score

题目描述:

LeetCode 798. Smallest Rotation with Highest Score

 Given an array A, we may rotate it by a non-negative integer K so that the array becomes A[K], A[K+1], A{K+2], ... A[A.length - 1], A[0], A[1], ..., A[K-1].  Afterward, ...

继续阅读

LeetCode Weekly Contest 74解题报告

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

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

题解列表:

LeetCode 794. Valid Tic-Tac-Toe State

LeetCode 792. Number of Matching Subsequences

LeetCode 795. Number of Subarrays with Bounded Maximum

LeetCode 793. Preimage Size of Factorial Zeroes Function

每月存档

去年

明年