类别归档:LeetCode

LeetCode OJ is a platform for preparing technical coding interviews.

RSS feed of LeetCode

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

继续阅读

LeetCode Weekly Contest 20解题报告

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

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

题解列表:

LeetCode 520. Detect Capital

LeetCode 526. Beautiful Arrangement

LeetCode 525. Contiguous Array

LeetCode 517. Super Washing Machines