摘要: A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the 阅读全文
posted @ 2020-05-21 08:59 Schwifty 阅读(141) 评论(0) 推荐(0)
摘要: Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexi 阅读全文
posted @ 2020-05-21 08:36 Schwifty 阅读(181) 评论(0) 推荐(0)
摘要: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This 阅读全文
posted @ 2020-05-21 08:15 Schwifty 阅读(121) 评论(0) 推荐(0)