Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 390 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 390 Bytes

80.Valid Palindrome II

Description

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

Example1

Input: 'aba'
Output: true

Example2

Input: "abca"
Output: true
Explanation: You could delete the character 'c'.

From

LeetCode