# ---
# title: 680. Valid Palindrome II
# id: problem680
# author: Tian Jun
# date: 2020-10-31
# difficulty: Easy
# categories: String
# link: <https://leetcode.com/problems/valid-palindrome-ii/description/>
# hidden: true
# ---
# 
# 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 could delete the character 'c'.
#     
# 
# **Note:**  
# 
#   1. The string will only contain lowercase characters a-z. The maximum length of the string is 50000.
# 
# 
## @lc code=start
using LeetCode

## add your code here:
## @lc code=end
