归档 2017

[LeetCode]Monotone Increasing Digits

题目描述:

LeetCode 738. Monotone Increasing Digits

Given a non-negative integer N, find the largest number that is less than or equal to N with monotone increasing digits.

(Recall that an integer has monotone increasing digits if and only if each ...

继续阅读

[LeetCode]Sentence Similarity II

题目描述:

LeetCode 737. Sentence Similarity II

Given two sentences words1, words2 (each represented as an array of strings), and a list of similar word pairs pairs, determine if two sentences are similar.

For example, words1 = ["great", "acting", "skills"] and words2 ...

继续阅读

LeetCode Weekly Contest 60解题报告

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

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

题解列表:

LeetCode 733. Flood Fill

LeetCode 734. Sentence Similarity

LeetCode 735. Asteroid Collision

LeetCode 736. Parse Lisp Expression

[LeetCode]Parse Lisp Expression

题目描述:

LeetCode 736. Parse Lisp Expression

You are given a string expression representing a Lisp-like expression to return the integer value of.

The syntax for these expressions is given as follows.

  • An expression is either an integer, a let-expression, an ...

继续阅读

每月存档

去年

明年