归档 2017年11月

[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 ...

继续阅读

[LeetCode]Asteroid Collision

题目描述:

LeetCode 735. Asteroid Collision

We are given an array asteroids of integers representing asteroids in a row.

For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each ...

继续阅读

[LeetCode]Sentence Similarity

题目描述:

LeetCode 734. Sentence Similarity

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, "great acting skills" and "fine drama talent" ...

继续阅读

每日归档

上个月

下个月

归档