归档 2017年2月26日

LeetCode Weekly Contest 21解题报告

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

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

题解列表:

LeetCode 530. Minimum Absolute Difference in BST

LeetCode 523. Continuous Subarray Sum

LeetCode 524. Longest Word in Dictionary through Deleting

LeetCode 529. Minesweeper

[LeetCode]Minesweeper

题目描述:

LeetCode 529. Minesweeper

Let's play the minesweeper game (Wikipedia, online game)!

You are given a 2D char matrix representing the game board. 'M' represents an unrevealed mine, 'E' represents an unrevealed empty square, 'B' represents a revealed blank square ...

继续阅读

[LeetCode]Longest Word in Dictionary through Deleting

题目描述:

LeetCode 524. Longest Word in Dictionary through Deleting

Given a string and a string dictionary, find the longest string in the dictionary that can be formed by deleting some characters of the given string. If there are more than ...

继续阅读

[LeetCode]Minimum Absolute Difference in BST

题目描述:

LeetCode 530. Minimum Absolute Difference in BST

Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes.

Example:

Input:

   1
    \
     3
    /
   2

Output:
1

Explanation:
The minimum absolute difference is ...

继续阅读

昨天

2017年2月19日

明天

2017年3月5日

归档