摘要:
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 Exa 阅读全文
posted @ 2019-02-24 18:26
Roni_i
阅读(211)
评论(0)
推荐(0)
摘要:
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Output: "holle" Example 2: Input: "le 阅读全文
posted @ 2019-02-24 17:24
Roni_i
阅读(161)
评论(0)
推荐(0)
摘要:
Given a non-negative integer c, your task is to decide whether there're two integers a and bsuch that a2 + b2 = c. Example 1: Input: 5 Output: True Ex 阅读全文
posted @ 2019-02-24 16:26
Roni_i
阅读(212)
评论(0)
推荐(0)
摘要:
https://www.cnblogs.com/Roni-i/p/7774100.html https://www.cnblogs.com/Roni-i/p/9253303.html 几百年前就会双指针了,但是Java有些语法还不熟练。。 (ps:双指针利用序列的递增性 阅读全文
posted @ 2019-02-24 16:11
Roni_i
阅读(156)
评论(0)
推荐(0)