归档 2017年9月17日

LeetCode Weekly Contest 50解题报告

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

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

题解列表:

LeetCode 680. Valid Palindrome II

LeetCode 677. Map Sum Pairs

LeetCode 678. Valid Parenthesis String

LeetCode 679. 24 Game

[LeetCode]Valid Palindrome II

题目描述:

LeetCode 680. Valid Palindrome II

Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome.

Example 1:

Input: "aba"
Output: True

Example 2:

Input: "abca"
Output: True
Explanation: You ...

继续阅读

昨天

明天

归档